⤺ color picker
0
Reddit

#020400 Color Hex

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


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

Color information

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

Conversions

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

Color harmonies

#020400 color HTML and CSS codes

Example CSS code:

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

#020400 text/font color

How to set font color?

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

Font color is #020400.

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

#020400 background color

How to set background color?

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

Background color is #020400.

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