In RGB color space, #2c7e42 hex color has a red value of 44, a green value of 126 and a blue value of 66.
In CMYK color space (used in color printing), #2c7e42 hex color is composed of 65.08% cyan, 0% magenta, 47.62% yellow and 50.59% black.
#2c7e42 color has a hue of 136.1 degrees, a saturation of 48.24% and a lightness of 33.3%.
#2c7e42 hex color contains mainly GREEN.
The closest web safe color of #2c7e42 is #336633
#2c7e42 hex color has a decimal value of 2915906.
HEX | 2c7e42 | #2c7e42 |
---|---|---|
RGB | 44, 126, 66 | rgb(44, 126, 66) |
RGB Percent | 17.25, 49.41, 25.88 | rgb(17.25, 49.41, 25.88) |
CMYK | 65, 0, 48, 51 | |
HSL | 136.1°, 48.24, 33.3 | hsl(136.1, 48.24%, 33.3%) |
HSV | 136.1°, 65.1, 49.4 |
XYZ | 9.483, 15.851, 7.714 |
---|---|
Hunter Lab | 39.813, -27.157, 16.382 |
CIE-LAB | 46.778, -38.694, 25.482 |
CIE-LCH | 46.778, 46.331, 146.633 |
CIE-LUV | 65.08, 0, 47.62, 50.59 |
Web Safe | 336633 |
RGB percent of color #2c7e42
CMYK percent of color #2c7e42
Text with hexadecimal color #2c7e42
This text has a font color of #2c7e42
<p style="color:#2c7e42">Text here</p>
#2c7e42 Background Color
This box has a background color of #2c7e42
<div style="background-color:#2c7e42">Text here</div>
#2c7e42 Border Color
This box has a border color of #2c7e42
<div style="border: 4px solid #2c7e42">Text here</div>
CSS codes
<p style="color:#2c7e42">Text here</p>
<div style="background-color:#2c7e42">Text here</div>
<div style="border: 4px solid #2c7e42">Text here</div>
#2c7e42 Color on white background
This is how a font and box color of #2c7e42 will look
on a white background.
#2c7e42 Color on black background
This is how a font and box color of #2c7e42 hex color will look
on a black background.