Hex color #c3c310, RGB(195, 195, 16) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #c3c310 is a shade of yellow. In a RGB color space it is composed of 76.47% red, 76.47% green and 6.27% blue. In HSL notation it has 60° hue, 84.8% saturation and 41.4% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 91.79% yellow and 23.53% key (black). The closest short hexadecimal code of #c3c310 is #cc1.
Example CSS code:
.setFontColor { color: #c3c310; }
.setBackgroundColor { background-color: #c3c310; }
How to set font color?
<p style="color:#c3c310">Font color is #c3c310.</p>
Font color is #c3c310.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#c3c310">Background color is #c3c310.</div>
Background color is #c3c310.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage