In RGB color space, #2c7f42 hex color has a red value of 44, a green value of 127 and a blue value of 66.
In CMYK color space (used in color printing), #2c7f42 hex color is composed of 65.35% cyan, 0% magenta, 48.03% yellow and 50.2% black.
#2c7f42 color has a hue of 135.9 degrees, a saturation of 48.54% and a lightness of 33.5%.
#2c7f42 hex color contains mainly GREEN.
The closest web safe color of #2c7f42 is #336633
#2c7f42 hex color has a decimal value of 2916162.
HEX | 2c7f42 | #2c7f42 |
---|---|---|
RGB | 44, 127, 66 | rgb(44, 127, 66) |
RGB Percent | 17.25, 49.8, 25.88 | rgb(17.25, 49.8, 25.88) |
CMYK | 65, 0, 48, 50 | |
HSL | 135.9°, 48.54, 33.5 | hsl(135.9, 48.54%, 33.5%) |
HSV | 135.9°, 65.4, 49.8 |
XYZ | 9.611, 16.108, 7.757 |
---|---|
Hunter Lab | 40.135, -27.491, 16.635 |
CIE-LAB | 47.116, -39.11, 25.91 |
CIE-LCH | 47.116, 46.914, 146.476 |
CIE-LUV | 65.35, 0, 48.03, 50.2 |
Web Safe | 336633 |
RGB percent of color #2c7f42
CMYK percent of color #2c7f42
Text with hexadecimal color #2c7f42
This text has a font color of #2c7f42
<p style="color:#2c7f42">Text here</p>
#2c7f42 Background Color
This box has a background color of #2c7f42
<div style="background-color:#2c7f42">Text here</div>
#2c7f42 Border Color
This box has a border color of #2c7f42
<div style="border: 4px solid #2c7f42">Text here</div>
CSS codes
<p style="color:#2c7f42">Text here</p>
<div style="background-color:#2c7f42">Text here</div>
<div style="border: 4px solid #2c7f42">Text here</div>
#2c7f42 Color on white background
This is how a font and box color of #2c7f42 will look
on a white background.
#2c7f42 Color on black background
This is how a font and box color of #2c7f42 hex color will look
on a black background.