⤺ color picker
0
Reddit

#020402 Color Hex

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


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

Color information

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

Conversions

Hex:
#020402
CMYK:
C: 50%, M: 0%, Y: 50%, K: 98.43%
RGB:
R: 2, G: 4, B: 2
HSL:
H: 120°, S: 33.3%, L: 1.2%

Color harmonies

#020402 color HTML and CSS codes

Example CSS code:

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

#020402 text/font color

How to set font color?

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

Font color is #020402.

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

#020402 background color

How to set background color?

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

Background color is #020402.

Compromise in colors is grey.
- Edi Rama