⤺ color picker
0
Reddit

#0c002c Color Hex

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


The hex color code #0c002c is a shade of blue-magenta. In a RGB color space it is composed of 4.71% red, 0% green and 17.25% blue. In HSL notation it has 256.4° hue, 100% saturation and 8.6% lightness. The process color (CMYK) is combination of 72.73% cyan, 100% magenta, 0% yellow and 82.75% key (black). The closest short hexadecimal code of #0c002c is #002.

Color information

  • #0c002c is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 72.73%
    • Magenta: 100%
    • Yellow: 0%
    • Key color - black: 82.75%
  • In the HSL model coordinates are:
    • Hue: 256.4° degrees
    • Saturation: 100%
    • Lightness: 8.6%
  • The values in the RGB color space are:
    • Red: 12 (4.71%)
    • Green: 0 (0%)
    • Blue: 44 (17.25%)

Conversions

Hex:
#0c002c
CMYK:
C: 72.73%, M: 100%, Y: 0%, K: 82.75%
RGB:
R: 12, G: 0, B: 44
HSL:
H: 256.4°, S: 100%, L: 8.6%

Color harmonies

#0c002c color HTML and CSS codes

Example CSS code:

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

#0c002c text/font color

How to set font color?

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

Font color is #0c002c.

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

#0c002c background color

How to set background color?

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

Background color is #0c002c.

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