⤺ color picker

#0a0212 Color Hex

Hex color #0a0212, RGB(10, 2, 18) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #0a0212 is a shade of blue-magenta. In a RGB color space it is composed of 3.92% red, 0.78% green and 7.06% blue. In HSL notation it has 270° hue, 80% saturation and 3.9% lightness. The process color (CMYK) is combination of 44.44% cyan, 88.89% magenta, 0% yellow and 92.94% key (black). The closest short hexadecimal code of #0a0212 is #001.

Color information

  • #0a0212 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 44.44%
    • Magenta: 88.89%
    • Yellow: 0%
    • Key color - black: 92.94%
  • In the HSL model coordinates are:
    • Hue: 270° degrees
    • Saturation: 80%
    • Lightness: 3.9%
  • The values in the RGB color space are:
    • Red: 10 (3.92%)
    • Green: 2 (0.78%)
    • Blue: 18 (7.06%)


C: 44.44%, M: 88.89%, Y: 0%, K: 92.94%
R: 10, G: 2, B: 18
H: 270°, S: 80%, L: 3.9%

Color harmonies

#0a0212 color HTML and CSS codes

Example CSS code:

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

#0a0212 text/font color

How to set font color?

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

Font color is #0a0212.

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

#0a0212 background color

How to set background color?

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

Background color is #0a0212.

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