⤺ color picker
0
Reddit

#40d204 Color Hex

Hex color #40d204, RGB(64, 210, 4) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #40d204 is a shade of green-yellow. In a RGB color space it is composed of 25.1% red, 82.35% green and 1.57% blue. In HSL notation it has 102.5° hue, 96.3% saturation and 42% lightness. The process color (CMYK) is combination of 69.52% cyan, 0% magenta, 98.10% yellow and 17.65% key (black). The closest short hexadecimal code of #40d204 is #4d0.

Color information

  • #40d204 is a shade of green-yellow.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 69.52%
    • Magenta: 0%
    • Yellow: 98.10%
    • Key color - black: 17.65%
  • In the HSL model coordinates are:
    • Hue: 102.5° degrees
    • Saturation: 96.3%
    • Lightness: 42%
  • The values in the RGB color space are:
    • Red: 64 (25.1%)
    • Green: 210 (82.35%)
    • Blue: 4 (1.57%)

Conversions

Hex:
#40d204
CMYK:
C: 69.52%, M: 0%, Y: 98.10%, K: 17.65%
RGB:
R: 64, G: 210, B: 4
HSL:
H: 102.5°, S: 96.3%, L: 42%

Color harmonies

#40d204 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #40d204; }
.setBackgroundColor { background-color: #40d204; }

#40d204 text/font color

How to set font color?

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

Font color is #40d204.

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

#40d204 background color

How to set background color?

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

Background color is #40d204.

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