⤺ color picker
0
Reddit

#008040 Color Hex

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


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

Color information

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

Conversions

Hex:
#008040
CMYK:
C: 100%, M: 0%, Y: 50%, K: 49.80%
RGB:
R: 0, G: 128, B: 64
HSL:
H: 150°, S: 100%, L: 25.1%

Color harmonies

#008040 color HTML and CSS codes

Example CSS code:

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

#008040 text/font color

How to set font color?

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

Font color is #008040.

Compromise in colors is grey.
- Edi Rama

#008040 background color

How to set background color?

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

Background color is #008040.

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