Hex color #cfcf70, RGB(207, 207, 112) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #cfcf70 is a shade of yellow. In a RGB color space it is composed of 81.18% red, 81.18% green and 43.92% blue. In HSL notation it has 60° hue, 49.7% saturation and 62.5% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 45.89% yellow and 18.82% key (black). The closest short hexadecimal code of #cfcf70 is #cc7.
Example CSS code:
.setFontColor { color: #cfcf70; }
.setBackgroundColor { background-color: #cfcf70; }
How to set font color?
<p style="color:#cfcf70">Font color is #cfcf70.</p>
Font color is #cfcf70.
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:#cfcf70">Background color is #cfcf70.</div>
Background color is #cfcf70.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant