Hex color #2a064e, RGB(42, 6, 78) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2a064e is a shade of blue-magenta. In a RGB color space it is composed of 16.47% red, 2.35% green and 30.59% blue. In HSL notation it has 270° hue, 85.7% saturation and 16.5% lightness. The process color (CMYK) is combination of 46.15% cyan, 92.31% magenta, 0% yellow and 69.41% key (black). The closest short hexadecimal code of #2a064e is #204.
Example CSS code:
.setFontColor { color: #2a064e; }
.setBackgroundColor { background-color: #2a064e; }
How to set font color?
<p style="color:#2a064e">Font color is #2a064e.</p>
Font color is #2a064e.
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:#2a064e">Background color is #2a064e.</div>
Background color is #2a064e.
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