Hex color #3a086c, RGB(58, 8, 108) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3a086c is a shade of blue-magenta. In a RGB color space it is composed of 22.75% red, 3.14% green and 42.35% blue. In HSL notation it has 270° hue, 86.2% saturation and 22.7% lightness. The process color (CMYK) is combination of 46.30% cyan, 92.59% magenta, 0% yellow and 57.65% key (black). The closest short hexadecimal code of #3a086c is #306.
Example CSS code:
.setFontColor { color: #3a086c; }
.setBackgroundColor { background-color: #3a086c; }
How to set font color?
<p style="color:#3a086c">Font color is #3a086c.</p>
Font color is #3a086c.
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:#3a086c">Background color is #3a086c.</div>
Background color is #3a086c.
Compromise in colors is grey.
- Edi Rama