⤺ color picker
0
Reddit

#020504 Color Hex

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


The hex color code #020504 is a shade of green-cyan. In a RGB color space it is composed of 0.78% red, 1.96% green and 1.57% blue. In HSL notation it has 160° hue, 42.9% saturation and 1.4% lightness. The process color (CMYK) is combination of 60.00% cyan, 0% magenta, 20.00% yellow and 98.04% key (black). The closest short hexadecimal code of #020504 is #000.

Color information

  • #020504 is a shade of green-cyan.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 60.00%
    • Magenta: 0%
    • Yellow: 20.00%
    • Key color - black: 98.04%
  • In the HSL model coordinates are:
    • Hue: 160° degrees
    • Saturation: 42.9%
    • Lightness: 1.4%
  • The values in the RGB color space are:
    • Red: 2 (0.78%)
    • Green: 5 (1.96%)
    • Blue: 4 (1.57%)

Conversions

Hex:
#020504
CMYK:
C: 60.00%, M: 0%, Y: 20.00%, K: 98.04%
RGB:
R: 2, G: 5, B: 4
HSL:
H: 160°, S: 42.9%, L: 1.4%

Color harmonies

#020504 color HTML and CSS codes

Example CSS code:

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

#020504 text/font color

How to set font color?

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

Font color is #020504.

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

#020504 background color

How to set background color?

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

Background color is #020504.

Compromise in colors is grey.
- Edi Rama