Hex color #2f325b, RGB(47, 50, 91) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2f325b is a shade of blue. In a RGB color space it is composed of 18.43% red, 19.61% green and 35.69% blue. In HSL notation it has 235.9° hue, 31.9% saturation and 27.1% lightness. The process color (CMYK) is combination of 48.35% cyan, 45.05% magenta, 0% yellow and 64.31% key (black). The closest short hexadecimal code of #2f325b is #235.
Example CSS code:
.setFontColor { color: #2f325b; }
.setBackgroundColor { background-color: #2f325b; }
How to set font color?
<p style="color:#2f325b">Font color is #2f325b.</p>
Font color is #2f325b.
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:#2f325b">Background color is #2f325b.</div>
Background color is #2f325b.
Compromise in colors is grey.
- Edi Rama