In RGB color space, #2a7211 hex color has a red value of 42, a green value of 114 and a blue value of 17.
In CMYK color space (used in color printing), #2a7211 hex color is composed of 63.16% cyan, 0% magenta, 85.09% yellow and 55.29% black.
#2a7211 color has a hue of 104.5 degrees, a saturation of 74.05% and a lightness of 25.7%.
#2a7211 hex color contains mainly GREEN.
The closest web safe color of #2a7211 is #336600
#2a7211 hex color has a decimal value of 2781713.
HEX | 2a7211 | #2a7211 |
---|---|---|
RGB | 42, 114, 17 | rgb(42, 114, 17) |
RGB Percent | 16.47, 44.71, 6.67 | rgb(16.47, 44.71, 6.67) |
CMYK | 63, 0, 85, 55 | |
HSL | 104.5°, 74.05, 25.7 | hsl(104.5, 74.05%, 25.7%) |
HSV | 104.5°, 85.1, 44.7 |
XYZ | 7.073, 12.567, 2.583 |
---|---|
Hunter Lab | 35.45, -26.423, 20.495 |
CIE-LAB | 42.103, -40.137, 42.711 |
CIE-LCH | 42.103, 58.611, 133.22 |
CIE-LUV | 63.16, 0, 85.09, 55.29 |
Web Safe | 336600 |
RGB percent of color #2a7211
CMYK percent of color #2a7211
Text with hexadecimal color #2a7211
This text has a font color of #2a7211
<p style="color:#2a7211">Text here</p>
#2a7211 Background Color
This box has a background color of #2a7211
<div style="background-color:#2a7211">Text here</div>
#2a7211 Border Color
This box has a border color of #2a7211
<div style="border: 4px solid #2a7211">Text here</div>
CSS codes
<p style="color:#2a7211">Text here</p>
<div style="background-color:#2a7211">Text here</div>
<div style="border: 4px solid #2a7211">Text here</div>
#2a7211 Color on white background
This is how a font and box color of #2a7211 will look
on a white background.
#2a7211 Color on black background
This is how a font and box color of #2a7211 hex color will look
on a black background.