⤺ color picker
0
Reddit

#008000 Color Hex (green)

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


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

Color information

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

Conversions

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

Color harmonies

#008000 color HTML and CSS codes

Example CSS code:

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

#008000 text/font color

How to set font color?

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

Font color is #008000.

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

#008000 background color

How to set background color?

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

Background color is #008000.

Compromise in colors is grey.
- Edi Rama