Hex color #cc1111, RGB(204, 17, 17) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #cc1111 is a shade of red. In a RGB color space it is composed of 80% red, 6.67% green and 6.67% blue. In HSL notation it has 0° hue, 84.6% saturation and 43.3% lightness. The process color (CMYK) is combination of 0% cyan, 91.67% magenta, 91.67% yellow and 20% key (black). The closest short hexadecimal code of #cc1111 is #c11.
Example CSS code:
.setFontColor { color: #cc1111; }
.setBackgroundColor { background-color: #cc1111; }
How to set font color?
<p style="color:#cc1111">Font color is #cc1111.</p>
Font color is #cc1111.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#cc1111">Background color is #cc1111.</div>
Background color is #cc1111.
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