⤺ color picker
0
Reddit

#2a8a41 Color Hex

Hex color #2a8a41, RGB(42, 138, 65) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #2a8a41 is a shade of green. In a RGB color space it is composed of 16.47% red, 54.12% green and 25.49% blue. In HSL notation it has 134.4° hue, 53.3% saturation and 35.3% lightness. The process color (CMYK) is combination of 69.57% cyan, 0% magenta, 52.90% yellow and 45.88% key (black). The closest short hexadecimal code of #2a8a41 is #284.

Color information

  • #2a8a41 is a shade of green.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 69.57%
    • Magenta: 0%
    • Yellow: 52.90%
    • Key color - black: 45.88%
  • In the HSL model coordinates are:
    • Hue: 134.4° degrees
    • Saturation: 53.3%
    • Lightness: 35.3%
  • The values in the RGB color space are:
    • Red: 42 (16.47%)
    • Green: 138 (54.12%)
    • Blue: 65 (25.49%)

Conversions

Hex:
#2a8a41
CMYK:
C: 69.57%, M: 0%, Y: 52.90%, K: 45.88%
RGB:
R: 42, G: 138, B: 65
HSL:
H: 134.4°, S: 53.3%, L: 35.3%

Color harmonies

#2a8a41 color HTML and CSS codes

Example CSS code:

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

#2a8a41 text/font color

How to set font color?

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

Font color is #2a8a41.

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

#2a8a41 background color

How to set background color?

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

Background color is #2a8a41.

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