Hex color #242f85, RGB(36, 47, 133) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #242f85 is a shade of blue. In a RGB color space it is composed of 14.12% red, 18.43% green and 52.16% blue. In HSL notation it has 233.2° hue, 57.4% saturation and 33.1% lightness. The process color (CMYK) is combination of 72.93% cyan, 64.66% magenta, 0% yellow and 47.84% key (black). The closest short hexadecimal code of #242f85 is #228.
Example CSS code:
.setFontColor { color: #242f85; }
.setBackgroundColor { background-color: #242f85; }
How to set font color?
<p style="color:#242f85">Font color is #242f85.</p>
Font color is #242f85.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#242f85">Background color is #242f85.</div>
Background color is #242f85.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage