Hex color #281ea7, RGB(40, 30, 167) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #281ea7 is a shade of blue. In a RGB color space it is composed of 15.69% red, 11.76% green and 65.49% blue. In HSL notation it has 244.4° hue, 69.5% saturation and 38.6% lightness. The process color (CMYK) is combination of 76.05% cyan, 82.04% magenta, 0% yellow and 34.51% key (black). The closest short hexadecimal code of #281ea7 is #21a.
Example CSS code:
.setFontColor { color: #281ea7; }
.setBackgroundColor { background-color: #281ea7; }
How to set font color?
<p style="color:#281ea7">Font color is #281ea7.</p>
Font color is #281ea7.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#281ea7">Background color is #281ea7.</div>
Background color is #281ea7.
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