Hex color #ca7dd6, RGB(202, 125, 214) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ca7dd6 is a shade of magenta. In a RGB color space it is composed of 79.22% red, 49.02% green and 83.92% blue. In HSL notation it has 291.9° hue, 52% saturation and 66.5% lightness. The process color (CMYK) is combination of 5.61% cyan, 41.59% magenta, 0% yellow and 16.08% key (black). The closest short hexadecimal code of #ca7dd6 is #c7d.
Example CSS code:
.setFontColor { color: #ca7dd6; }
.setBackgroundColor { background-color: #ca7dd6; }
How to set font color?
<p style="color:#ca7dd6">Font color is #ca7dd6.</p>
Font color is #ca7dd6.
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:#ca7dd6">Background color is #ca7dd6.</div>
Background color is #ca7dd6.
Compromise in colors is grey.
- Edi Rama