In RGB color space, #2a7e12 hex color has a red value of 42, a green value of 126 and a blue value of 18.
In CMYK color space (used in color printing), #2a7e12 hex color is composed of 66.67% cyan, 0% magenta, 85.71% yellow and 50.59% black.
#2a7e12 color has a hue of 106.7 degrees, a saturation of 75% and a lightness of 28.2%.
#2a7e12 hex color contains mainly GREEN.
The closest web safe color of #2a7e12 is #336600
#2a7e12 hex color has a decimal value of 2784786.
HEX | 2a7e12 | #2a7e12 |
---|---|---|
RGB | 42, 126, 18 | rgb(42, 126, 18) |
RGB Percent | 16.47, 49.41, 7.06 | rgb(16.47, 49.41, 7.06) |
CMYK | 67, 0, 86, 51 | |
HSL | 106.7°, 75, 28.2 | hsl(106.7, 75%, 28.2%) |
HSV | 106.7°, 85.7, 49.4 |
XYZ | 8.525, 15.458, 3.107 |
---|---|
Hunter Lab | 39.317, -30.1, 22.836 |
CIE-LAB | 46.255, -44.527, 46.22 |
CIE-LCH | 46.255, 64.179, 133.931 |
CIE-LUV | 66.67, 0, 85.71, 50.59 |
Web Safe | 336600 |
RGB percent of color #2a7e12
CMYK percent of color #2a7e12
Text with hexadecimal color #2a7e12
This text has a font color of #2a7e12
<p style="color:#2a7e12">Text here</p>
#2a7e12 Background Color
This box has a background color of #2a7e12
<div style="background-color:#2a7e12">Text here</div>
#2a7e12 Border Color
This box has a border color of #2a7e12
<div style="border: 4px solid #2a7e12">Text here</div>
CSS codes
<p style="color:#2a7e12">Text here</p>
<div style="background-color:#2a7e12">Text here</div>
<div style="border: 4px solid #2a7e12">Text here</div>
#2a7e12 Color on white background
This is how a font and box color of #2a7e12 will look
on a white background.
#2a7e12 Color on black background
This is how a font and box color of #2a7e12 hex color will look
on a black background.