Hex color #ffc0c0, RGB(255, 192, 192) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ffc0c0 is a shade of red. In a RGB color space it is composed of 100% red, 75.29% green and 75.29% blue. In HSL notation it has 0° hue, 100% saturation and 87.6% lightness. The process color (CMYK) is combination of 0% cyan, 24.71% magenta, 24.71% yellow and 0% key (black). The closest short hexadecimal code of #ffc0c0 is #fcc.
Example CSS code:
.setFontColor { color: #ffc0c0; }
.setBackgroundColor { background-color: #ffc0c0; }
How to set font color?
<p style="color:#ffc0c0">Font color is #ffc0c0.</p>
Font color is #ffc0c0.
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
How to set background color?
<div style="background-color:#ffc0c0">Background color is #ffc0c0.</div>
Background color is #ffc0c0.
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