In RGB color space, #2a7d1c hex color has a red value of 42, a green value of 125 and a blue value of 28.
In CMYK color space (used in color printing), #2a7d1c hex color is composed of 66.4% cyan, 0% magenta, 77.6% yellow and 50.98% black.
#2a7d1c color has a hue of 111.3 degrees, a saturation of 63.4% and a lightness of 30%.
#2a7d1c hex color contains mainly GREEN.
The closest web safe color of #2a7d1c is #336633
#2a7d1c hex color has a decimal value of 2784540.
HEX | 2a7d1c | #2a7d1c |
---|---|---|
RGB | 42, 125, 28 | rgb(42, 125, 28) |
RGB Percent | 16.47, 49.02, 10.98 | rgb(16.47, 49.02, 10.98) |
CMYK | 66, 0, 78, 51 | |
HSL | 111.3°, 63.4, 30 | hsl(111.3, 63.4%, 30%) |
HSV | 111.3°, 77.6, 49 |
XYZ | 8.498, 15.243, 3.593 |
---|---|
Hunter Lab | 39.042, -29.471, 21.873 |
CIE-LAB | 45.965, -43.513, 42.687 |
CIE-LCH | 45.965, 60.955, 135.549 |
CIE-LUV | 66.4, 0, 77.6, 50.98 |
Web Safe | 336633 |
RGB percent of color #2a7d1c
CMYK percent of color #2a7d1c
Text with hexadecimal color #2a7d1c
This text has a font color of #2a7d1c
<p style="color:#2a7d1c">Text here</p>
#2a7d1c Background Color
This box has a background color of #2a7d1c
<div style="background-color:#2a7d1c">Text here</div>
#2a7d1c Border Color
This box has a border color of #2a7d1c
<div style="border: 4px solid #2a7d1c">Text here</div>
CSS codes
<p style="color:#2a7d1c">Text here</p>
<div style="background-color:#2a7d1c">Text here</div>
<div style="border: 4px solid #2a7d1c">Text here</div>
#2a7d1c Color on white background
This is how a font and box color of #2a7d1c will look
on a white background.
#2a7d1c Color on black background
This is how a font and box color of #2a7d1c hex color will look
on a black background.