⤺ color picker
0
Reddit

#0c081c Color Hex

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


The hex color code #0c081c is a shade of blue. In a RGB color space it is composed of 4.71% red, 3.14% green and 10.98% blue. In HSL notation it has 252° hue, 55.6% saturation and 7.1% lightness. The process color (CMYK) is combination of 57.14% cyan, 71.43% magenta, 0% yellow and 89.02% key (black). The closest short hexadecimal code of #0c081c is #001.

Color information

  • #0c081c is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 57.14%
    • Magenta: 71.43%
    • Yellow: 0%
    • Key color - black: 89.02%
  • In the HSL model coordinates are:
    • Hue: 252° degrees
    • Saturation: 55.6%
    • Lightness: 7.1%
  • The values in the RGB color space are:
    • Red: 12 (4.71%)
    • Green: 8 (3.14%)
    • Blue: 28 (10.98%)

Conversions

Hex:
#0c081c
CMYK:
C: 57.14%, M: 71.43%, Y: 0%, K: 89.02%
RGB:
R: 12, G: 8, B: 28
HSL:
H: 252°, S: 55.6%, L: 7.1%

Color harmonies

#0c081c color HTML and CSS codes

Example CSS code:

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

#0c081c text/font color

How to set font color?

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

Font color is #0c081c.

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

#0c081c background color

How to set background color?

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

Background color is #0c081c.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant