Hex color #35048f, RGB(53, 4, 143) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #35048f is a shade of blue-magenta. In a RGB color space it is composed of 20.78% red, 1.57% green and 56.08% blue. In HSL notation it has 261.2° hue, 94.6% saturation and 28.8% lightness. The process color (CMYK) is combination of 62.94% cyan, 97.20% magenta, 0% yellow and 43.92% key (black). The closest short hexadecimal code of #35048f is #308.
Example CSS code:
.setFontColor { color: #35048f; }
.setBackgroundColor { background-color: #35048f; }
How to set font color?
<p style="color:#35048f">Font color is #35048f.</p>
Font color is #35048f.
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:#35048f">Background color is #35048f.</div>
Background color is #35048f.
Compromise in colors is grey.
- Edi Rama