⤺ color picker

#2ec321 Color Hex

Hex color #2ec321, RGB(46, 195, 33) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #2ec321 is a shade of green. In a RGB color space it is composed of 18.04% red, 76.47% green and 12.94% blue. In HSL notation it has 115.2° hue, 71.1% saturation and 44.7% lightness. The process color (CMYK) is combination of 76.41% cyan, 0% magenta, 83.08% yellow and 23.53% key (black). The closest short hexadecimal code of #2ec321 is #2c2.

Color information

  • #2ec321 is a shade of green.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 76.41%
    • Magenta: 0%
    • Yellow: 83.08%
    • Key color - black: 23.53%
  • In the HSL model coordinates are:
    • Hue: 115.2° degrees
    • Saturation: 71.1%
    • Lightness: 44.7%
  • The values in the RGB color space are:
    • Red: 46 (18.04%)
    • Green: 195 (76.47%)
    • Blue: 33 (12.94%)


C: 76.41%, M: 0%, Y: 83.08%, K: 23.53%
R: 46, G: 195, B: 33
H: 115.2°, S: 71.1%, L: 44.7%

Color harmonies

#2ec321 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #2ec321; }
.setBackgroundColor { background-color: #2ec321; }

#2ec321 text/font color

How to set font color?

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

Font color is #2ec321.

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

#2ec321 background color

How to set background color?

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

Background color is #2ec321.

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