Hex color #3a2168, RGB(58, 33, 104) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3a2168 is a shade of blue-magenta. In a RGB color space it is composed of 22.75% red, 12.94% green and 40.78% blue. In HSL notation it has 261.1° hue, 51.8% saturation and 26.9% lightness. The process color (CMYK) is combination of 44.23% cyan, 68.27% magenta, 0% yellow and 59.22% key (black). The closest short hexadecimal code of #3a2168 is #326.
Example CSS code:
.setFontColor { color: #3a2168; }
.setBackgroundColor { background-color: #3a2168; }
How to set font color?
<p style="color:#3a2168">Font color is #3a2168.</p>
Font color is #3a2168.
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:#3a2168">Background color is #3a2168.</div>
Background color is #3a2168.
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