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