Hex color #c28cf7, RGB(194, 140, 247) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #c28cf7 is a shade of blue-magenta. In a RGB color space it is composed of 76.08% red, 54.9% green and 96.86% blue. In HSL notation it has 270.3° hue, 87% saturation and 75.9% lightness. The process color (CMYK) is combination of 21.46% cyan, 43.32% magenta, 0% yellow and 3.14% key (black). The closest short hexadecimal code of #c28cf7 is #c8f.
Example CSS code:
.setFontColor { color: #c28cf7; }
.setBackgroundColor { background-color: #c28cf7; }
How to set font color?
<p style="color:#c28cf7">Font color is #c28cf7.</p>
Font color is #c28cf7.
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:#c28cf7">Background color is #c28cf7.</div>
Background color is #c28cf7.
Compromise in colors is grey.
- Edi Rama