In RGB color space, #2a7e2b hex color has a red value of 42, a green value of 126 and a blue value of 43.
In CMYK color space (used in color printing), #2a7e2b hex color is composed of 66.67% cyan, 0% magenta, 65.87% yellow and 50.59% black.
#2a7e2b color has a hue of 120.7 degrees, a saturation of 50% and a lightness of 32.9%.
#2a7e2b hex color contains mainly GREEN.
The closest web safe color of #2a7e2b is #336633
#2a7e2b hex color has a decimal value of 2784811.
HEX | 2a7e2b | #2a7e2b |
---|---|---|
RGB | 42, 126, 43 | rgb(42, 126, 43) |
RGB Percent | 16.47, 49.41, 16.86 | rgb(16.47, 49.41, 16.86) |
CMYK | 67, 0, 66, 51 | |
HSL | 120.7°, 50, 32.9 | hsl(120.7, 50%, 32.9%) |
HSV | 120.7°, 66.7, 49.4 |
XYZ | 8.852, 15.588, 4.828 |
---|---|
Hunter Lab | 39.482, -29.072, 20.387 |
CIE-LAB | 46.429, -42.451, 36.848 |
CIE-LCH | 46.429, 56.213, 139.042 |
CIE-LUV | 66.67, 0, 65.87, 50.59 |
Web Safe | 336633 |
RGB percent of color #2a7e2b
CMYK percent of color #2a7e2b
Text with hexadecimal color #2a7e2b
This text has a font color of #2a7e2b
<p style="color:#2a7e2b">Text here</p>
#2a7e2b Background Color
This box has a background color of #2a7e2b
<div style="background-color:#2a7e2b">Text here</div>
#2a7e2b Border Color
This box has a border color of #2a7e2b
<div style="border: 4px solid #2a7e2b">Text here</div>
CSS codes
<p style="color:#2a7e2b">Text here</p>
<div style="background-color:#2a7e2b">Text here</div>
<div style="border: 4px solid #2a7e2b">Text here</div>
#2a7e2b Color on white background
This is how a font and box color of #2a7e2b will look
on a white background.
#2a7e2b Color on black background
This is how a font and box color of #2a7e2b hex color will look
on a black background.