Hex color #272a4c, RGB(39, 42, 76) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #272a4c is a shade of blue. In a RGB color space it is composed of 15.29% red, 16.47% green and 29.8% blue. In HSL notation it has 235.1° hue, 32.2% saturation and 22.5% lightness. The process color (CMYK) is combination of 48.68% cyan, 44.74% magenta, 0% yellow and 70.20% key (black). The closest short hexadecimal code of #272a4c is #224.
Example CSS code:
.setFontColor { color: #272a4c; }
.setBackgroundColor { background-color: #272a4c; }
How to set font color?
<p style="color:#272a4c">Font color is #272a4c.</p>
Font color is #272a4c.
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:#272a4c">Background color is #272a4c.</div>
Background color is #272a4c.
Compromise in colors is grey.
- Edi Rama