Hex color #dcdc97, RGB(220, 220, 151) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #dcdc97 is a shade of yellow. In a RGB color space it is composed of 86.27% red, 86.27% green and 59.22% blue. In HSL notation it has 60° hue, 49.6% saturation and 72.7% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 31.36% yellow and 13.73% key (black). The closest short hexadecimal code of #dcdc97 is #dd9.
Example CSS code:
.setFontColor { color: #dcdc97; }
.setBackgroundColor { background-color: #dcdc97; }
How to set font color?
<p style="color:#dcdc97">Font color is #dcdc97.</p>
Font color is #dcdc97.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#dcdc97">Background color is #dcdc97.</div>
Background color is #dcdc97.
Compromise in colors is grey.
- Edi Rama