In RGB color space, #2c7e28 hex color has a red value of 44, a green value of 126 and a blue value of 40.
In CMYK color space (used in color printing), #2c7e28 hex color is composed of 65.08% cyan, 0% magenta, 68.25% yellow and 50.59% black.
#2c7e28 color has a hue of 117.2 degrees, a saturation of 51.81% and a lightness of 32.5%.
#2c7e28 hex color contains mainly GREEN.
The closest web safe color of #2c7e28 is #336633
#2c7e28 hex color has a decimal value of 2915880.
HEX | 2c7e28 | #2c7e28 |
---|---|---|
RGB | 44, 126, 40 | rgb(44, 126, 40) |
RGB Percent | 17.25, 49.41, 15.69 | rgb(17.25, 49.41, 15.69) |
CMYK | 65, 0, 68, 51 | |
HSL | 117.2°, 51.81, 32.5 | hsl(117.2, 51.81%, 32.5%) |
HSV | 117.2°, 68.3, 49.4 |
XYZ | 8.883, 15.61, 4.552 |
---|---|
Hunter Lab | 39.509, -29.009, 20.826 |
CIE-LAB | 46.459, -42.313, 38.274 |
CIE-LCH | 46.459, 57.055, 137.869 |
CIE-LUV | 65.08, 0, 68.25, 50.59 |
Web Safe | 336633 |
RGB percent of color #2c7e28
CMYK percent of color #2c7e28
Text with hexadecimal color #2c7e28
This text has a font color of #2c7e28
<p style="color:#2c7e28">Text here</p>
#2c7e28 Background Color
This box has a background color of #2c7e28
<div style="background-color:#2c7e28">Text here</div>
#2c7e28 Border Color
This box has a border color of #2c7e28
<div style="border: 4px solid #2c7e28">Text here</div>
CSS codes
<p style="color:#2c7e28">Text here</p>
<div style="background-color:#2c7e28">Text here</div>
<div style="border: 4px solid #2c7e28">Text here</div>
#2c7e28 Color on white background
This is how a font and box color of #2c7e28 will look
on a white background.
#2c7e28 Color on black background
This is how a font and box color of #2c7e28 hex color will look
on a black background.