Hex color #d7cf7b, RGB(215, 207, 123) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d7cf7b is a shade of yellow. In a RGB color space it is composed of 84.31% red, 81.18% green and 48.24% blue. In HSL notation it has 54.8° hue, 53.5% saturation and 66.3% lightness. The process color (CMYK) is combination of 0% cyan, 3.72% magenta, 42.79% yellow and 15.69% key (black). The closest short hexadecimal code of #d7cf7b is #dc7.
Example CSS code:
.setFontColor { color: #d7cf7b; }
.setBackgroundColor { background-color: #d7cf7b; }
How to set font color?
<p style="color:#d7cf7b">Font color is #d7cf7b.</p>
Font color is #d7cf7b.
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:#d7cf7b">Background color is #d7cf7b.</div>
Background color is #d7cf7b.
Compromise in colors is grey.
- Edi Rama