⤺ color picker
0
Reddit

#0c0418 Color Hex

Hex color #0c0418, RGB(12, 4, 24) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #0c0418 is a shade of blue-magenta. In a RGB color space it is composed of 4.71% red, 1.57% green and 9.41% blue. In HSL notation it has 264° hue, 71.4% saturation and 5.5% lightness. The process color (CMYK) is combination of 50.00% cyan, 83.33% magenta, 0% yellow and 90.59% key (black). The closest short hexadecimal code of #0c0418 is #001.

Color information

  • #0c0418 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 50.00%
    • Magenta: 83.33%
    • Yellow: 0%
    • Key color - black: 90.59%
  • In the HSL model coordinates are:
    • Hue: 264° degrees
    • Saturation: 71.4%
    • Lightness: 5.5%
  • The values in the RGB color space are:
    • Red: 12 (4.71%)
    • Green: 4 (1.57%)
    • Blue: 24 (9.41%)

Conversions

Hex:
#0c0418
CMYK:
C: 50.00%, M: 83.33%, Y: 0%, K: 90.59%
RGB:
R: 12, G: 4, B: 24
HSL:
H: 264°, S: 71.4%, L: 5.5%

Color harmonies

#0c0418 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #0c0418; }
.setBackgroundColor { background-color: #0c0418; }

#0c0418 text/font color

How to set font color?

<p style="color:#0c0418">Font color is #0c0418.</p>

Font color is #0c0418.

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

#0c0418 background color

How to set background color?

<div style="background-color:#0c0418">Background color is #0c0418.</div>

Background color is #0c0418.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage