Hex color #072a3f, RGB(7, 42, 63) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #072a3f is a shade of blue-cyan. In a RGB color space it is composed of 2.75% red, 16.47% green and 24.71% blue. In HSL notation it has 202.5° hue, 80% saturation and 13.7% lightness. The process color (CMYK) is combination of 88.89% cyan, 33.33% magenta, 0% yellow and 75.29% key (black). The closest short hexadecimal code of #072a3f is #023.
Example CSS code:
.setFontColor { color: #072a3f; }
.setBackgroundColor { background-color: #072a3f; }
How to set font color?
<p style="color:#072a3f">Font color is #072a3f.</p>
Font color is #072a3f.
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:#072a3f">Background color is #072a3f.</div>
Background color is #072a3f.
Compromise in colors is grey.
- Edi Rama