Hex color #301642, RGB(48, 22, 66) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #301642 is a shade of blue-magenta. In a RGB color space it is composed of 18.82% red, 8.63% green and 25.88% blue. In HSL notation it has 275.5° hue, 50% saturation and 17.3% lightness. The process color (CMYK) is combination of 27.27% cyan, 66.67% magenta, 0% yellow and 74.12% key (black). The closest short hexadecimal code of #301642 is #314.
Example CSS code:
.setFontColor { color: #301642; }
.setBackgroundColor { background-color: #301642; }
How to set font color?
<p style="color:#301642">Font color is #301642.</p>
Font color is #301642.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#301642">Background color is #301642.</div>
Background color is #301642.
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