⤺ color picker

#02041c Color Hex

Hex color #02041c, RGB(2, 4, 28) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #02041c is a shade of blue. In a RGB color space it is composed of 0.78% red, 1.57% green and 10.98% blue. In HSL notation it has 235.4° hue, 86.7% saturation and 5.9% lightness. The process color (CMYK) is combination of 92.86% cyan, 85.71% magenta, 0% yellow and 89.02% key (black). The closest short hexadecimal code of #02041c is #001.

Color information

  • #02041c is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 92.86%
    • Magenta: 85.71%
    • Yellow: 0%
    • Key color - black: 89.02%
  • In the HSL model coordinates are:
    • Hue: 235.4° degrees
    • Saturation: 86.7%
    • Lightness: 5.9%
  • The values in the RGB color space are:
    • Red: 2 (0.78%)
    • Green: 4 (1.57%)
    • Blue: 28 (10.98%)


C: 92.86%, M: 85.71%, Y: 0%, K: 89.02%
R: 2, G: 4, B: 28
H: 235.4°, S: 86.7%, L: 5.9%

Color harmonies

#02041c color HTML and CSS codes

Example CSS code:

.setFontColor { color: #02041c; }
.setBackgroundColor { background-color: #02041c; }

#02041c text/font color

How to set font color?

<p style="color:#02041c">Font color is #02041c.</p>

Font color is #02041c.

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

#02041c background color

How to set background color?

<div style="background-color:#02041c">Background color is #02041c.</div>

Background color is #02041c.

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