Hex color #180c36, RGB(24, 12, 54) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #180c36 is a shade of blue-magenta. In a RGB color space it is composed of 9.41% red, 4.71% green and 21.18% blue. In HSL notation it has 257.1° hue, 63.6% saturation and 12.9% lightness. The process color (CMYK) is combination of 55.56% cyan, 77.78% magenta, 0% yellow and 78.82% key (black). The closest short hexadecimal code of #180c36 is #103.
Example CSS code:
.setFontColor { color: #180c36; }
.setBackgroundColor { background-color: #180c36; }
How to set font color?
<p style="color:#180c36">Font color is #180c36.</p>
Font color is #180c36.
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:#180c36">Background color is #180c36.</div>
Background color is #180c36.
Compromise in colors is grey.
- Edi Rama