Hex color #2f45ff, RGB(47, 69, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2f45ff is a shade of blue. In a RGB color space it is composed of 18.43% red, 27.06% green and 100% blue. In HSL notation it has 233.7° hue, 100% saturation and 59.2% lightness. The process color (CMYK) is combination of 81.57% cyan, 72.94% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #2f45ff is #24f.
Example CSS code:
.setFontColor { color: #2f45ff; }
.setBackgroundColor { background-color: #2f45ff; }
How to set font color?
<p style="color:#2f45ff">Font color is #2f45ff.</p>
Font color is #2f45ff.
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:#2f45ff">Background color is #2f45ff.</div>
Background color is #2f45ff.
Compromise in colors is grey.
- Edi Rama