⤺ color picker
0
Reddit

#020004 Color Hex

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


The hex color code #020004 is a shade of blue-magenta. In a RGB color space it is composed of 0.78% red, 0% green and 1.57% blue. In HSL notation it has 270° hue, 100% saturation and 0.8% lightness. The process color (CMYK) is combination of 50% cyan, 100% magenta, 0% yellow and 98.43% key (black). The closest short hexadecimal code of #020004 is #000.

Color information

  • #020004 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 50%
    • Magenta: 100%
    • Yellow: 0%
    • Key color - black: 98.43%
  • In the HSL model coordinates are:
    • Hue: 270° degrees
    • Saturation: 100%
    • Lightness: 0.8%
  • The values in the RGB color space are:
    • Red: 2 (0.78%)
    • Green: 0 (0%)
    • Blue: 4 (1.57%)

Conversions

Hex:
#020004
CMYK:
C: 50%, M: 100%, Y: 0%, K: 98.43%
RGB:
R: 2, G: 0, B: 4
HSL:
H: 270°, S: 100%, L: 0.8%

Color harmonies

#020004 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #020004; }
.setBackgroundColor { background-color: #020004; }

#020004 text/font color

How to set font color?

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

Font color is #020004.

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

#020004 background color

How to set background color?

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

Background color is #020004.

Compromise in colors is grey.
- Edi Rama