Hex color #020777, RGB(2, 7, 119) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #020777 is a shade of blue. In a RGB color space it is composed of 0.78% red, 2.75% green and 46.67% blue. In HSL notation it has 237.4° hue, 96.7% saturation and 23.7% lightness. The process color (CMYK) is combination of 98.32% cyan, 94.12% magenta, 0% yellow and 53.33% key (black). The closest short hexadecimal code of #020777 is #007.
Example CSS code:
.setFontColor { color: #020777; }
.setBackgroundColor { background-color: #020777; }
How to set font color?
<p style="color:#020777">Font color is #020777.</p>
Font color is #020777.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#020777">Background color is #020777.</div>
Background color is #020777.
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