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