Hex color #004af1, RGB(0, 74, 241) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #004af1 is a shade of blue-cyan. In a RGB color space it is composed of 0% red, 29.02% green and 94.51% blue. In HSL notation it has 221.6° hue, 100% saturation and 47.3% lightness. The process color (CMYK) is combination of 100% cyan, 69.29% magenta, 0% yellow and 5.49% key (black). The closest short hexadecimal code of #004af1 is #04f.
Example CSS code:
.setFontColor { color: #004af1; }
.setBackgroundColor { background-color: #004af1; }
How to set font color?
<p style="color:#004af1">Font color is #004af1.</p>
Font color is #004af1.
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:#004af1">Background color is #004af1.</div>
Background color is #004af1.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage