Hex color #1e1e8e, RGB(30, 30, 142) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1e1e8e is a shade of blue. In a RGB color space it is composed of 11.76% red, 11.76% green and 55.69% blue. In HSL notation it has 240° hue, 65.1% saturation and 33.7% lightness. The process color (CMYK) is combination of 78.87% cyan, 78.87% magenta, 0% yellow and 44.31% key (black). The closest short hexadecimal code of #1e1e8e is #118.
Example CSS code:
.setFontColor { color: #1e1e8e; }
.setBackgroundColor { background-color: #1e1e8e; }
How to set font color?
<p style="color:#1e1e8e">Font color is #1e1e8e.</p>
Font color is #1e1e8e.
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
How to set background color?
<div style="background-color:#1e1e8e">Background color is #1e1e8e.</div>
Background color is #1e1e8e.
Compromise in colors is grey.
- Edi Rama