Hex color #4a06cb, RGB(74, 6, 203) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4a06cb is a shade of blue-magenta. In a RGB color space it is composed of 29.02% red, 2.35% green and 79.61% blue. In HSL notation it has 260.7° hue, 94.3% saturation and 41% lightness. The process color (CMYK) is combination of 63.55% cyan, 97.04% magenta, 0% yellow and 20.39% key (black). The closest short hexadecimal code of #4a06cb is #40c.
Example CSS code:
.setFontColor { color: #4a06cb; }
.setBackgroundColor { background-color: #4a06cb; }
How to set font color?
<p style="color:#4a06cb">Font color is #4a06cb.</p>
Font color is #4a06cb.
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:#4a06cb">Background color is #4a06cb.</div>
Background color is #4a06cb.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage