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