Hex color #4224b4, RGB(66, 36, 180) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4224b4 is a shade of blue. In a RGB color space it is composed of 25.88% red, 14.12% green and 70.59% blue. In HSL notation it has 252.5° hue, 66.7% saturation and 42.4% lightness. The process color (CMYK) is combination of 63.33% cyan, 80% magenta, 0% yellow and 29.41% key (black). The closest short hexadecimal code of #4224b4 is #42b.
Example CSS code:
.setFontColor { color: #4224b4; }
.setBackgroundColor { background-color: #4224b4; }
How to set font color?
<p style="color:#4224b4">Font color is #4224b4.</p>
Font color is #4224b4.
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:#4224b4">Background color is #4224b4.</div>
Background color is #4224b4.
Compromise in colors is grey.
- Edi Rama