⤺ color picker
0
Reddit

#40ff00 Color Hex

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


The hex color code #40ff00 is a shade of green-yellow. In a RGB color space it is composed of 25.1% red, 100% green and 0% blue. In HSL notation it has 104.9° hue, 100% saturation and 50% lightness. The process color (CMYK) is combination of 74.90% cyan, 0% magenta, 100% yellow and 0% key (black). The closest short hexadecimal code of #40ff00 is #4f0.

Color information

  • #40ff00 is a shade of green-yellow.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 74.90%
    • Magenta: 0%
    • Yellow: 100%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 104.9° degrees
    • Saturation: 100%
    • Lightness: 50%
  • The values in the RGB color space are:
    • Red: 64 (25.1%)
    • Green: 255 (100%)
    • Blue: 0 (0%)

Conversions

Hex:
#40ff00
CMYK:
C: 74.90%, M: 0%, Y: 100%, K: 0%
RGB:
R: 64, G: 255, B: 0
HSL:
H: 104.9°, S: 100%, L: 50%

Color harmonies

#40ff00 color HTML and CSS codes

Example CSS code:

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

#40ff00 text/font color

How to set font color?

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

Font color is #40ff00.

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

#40ff00 background color

How to set background color?

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

Background color is #40ff00.

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