⤺ color picker
0
Reddit

#2a5024 Color Hex

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


The hex color code #2a5024 is a shade of green. In a RGB color space it is composed of 16.47% red, 31.37% green and 14.12% blue. In HSL notation it has 111.8° hue, 37.9% saturation and 22.7% lightness. The process color (CMYK) is combination of 47.5% cyan, 0% magenta, 55% yellow and 68.63% key (black). The closest short hexadecimal code of #2a5024 is #252.

Color information

  • #2a5024 is a shade of green.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 47.5%
    • Magenta: 0%
    • Yellow: 55%
    • Key color - black: 68.63%
  • In the HSL model coordinates are:
    • Hue: 111.8° degrees
    • Saturation: 37.9%
    • Lightness: 22.7%
  • The values in the RGB color space are:
    • Red: 42 (16.47%)
    • Green: 80 (31.37%)
    • Blue: 36 (14.12%)

Conversions

Hex:
#2a5024
CMYK:
C: 47.5%, M: 0%, Y: 55%, K: 68.63%
RGB:
R: 42, G: 80, B: 36
HSL:
H: 111.8°, S: 37.9%, L: 22.7%

Color harmonies

#2a5024 color HTML and CSS codes

Example CSS code:

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

#2a5024 text/font color

How to set font color?

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

Font color is #2a5024.

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

#2a5024 background color

How to set background color?

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

Background color is #2a5024.

Compromise in colors is grey.
- Edi Rama