Hex color #1d2aa4, RGB(29, 42, 164) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1d2aa4 is a shade of blue. In a RGB color space it is composed of 11.37% red, 16.47% green and 64.31% blue. In HSL notation it has 234.2° hue, 69.9% saturation and 37.8% lightness. The process color (CMYK) is combination of 82.32% cyan, 74.39% magenta, 0% yellow and 35.69% key (black). The closest short hexadecimal code of #1d2aa4 is #12a.
Example CSS code:
.setFontColor { color: #1d2aa4; }
.setBackgroundColor { background-color: #1d2aa4; }
How to set font color?
<p style="color:#1d2aa4">Font color is #1d2aa4.</p>
Font color is #1d2aa4.
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:#1d2aa4">Background color is #1d2aa4.</div>
Background color is #1d2aa4.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage