In RGB color space, #2a6012 hex color has a red value of 42, a green value of 96 and a blue value of 18.
In CMYK color space (used in color printing), #2a6012 hex color is composed of 56.25% cyan, 0% magenta, 81.25% yellow and 62.35% black.
#2a6012 color has a hue of 101.5 degrees, a saturation of 68.42% and a lightness of 22.4%.
#2a6012 hex color contains mainly GREEN.
The closest web safe color of #2a6012 is #336600
#2a6012 hex color has a decimal value of 2777106.
HEX | 2a6012 | #2a6012 |
---|---|---|
RGB | 42, 96, 18 | rgb(42, 96, 18) |
RGB Percent | 16.47, 37.65, 7.06 | rgb(16.47, 37.65, 7.06) |
CMYK | 56, 0, 81, 62 | |
HSL | 101.5°, 68.42, 22.4 | hsl(101.5, 68.42%, 22.4%) |
HSV | 101.5°, 81.3, 37.6 |
XYZ | 5.247, 8.902, 2.014 |
---|---|
Hunter Lab | 29.836, -20.822, 16.883 |
CIE-LAB | 35.795, -32.871, 36.409 |
CIE-LCH | 35.795, 49.052, 132.077 |
CIE-LUV | 56.25, 0, 81.25, 62.35 |
Web Safe | 336600 |
RGB percent of color #2a6012
CMYK percent of color #2a6012
Text with hexadecimal color #2a6012
This text has a font color of #2a6012
<p style="color:#2a6012">Text here</p>
#2a6012 Background Color
This box has a background color of #2a6012
<div style="background-color:#2a6012">Text here</div>
#2a6012 Border Color
This box has a border color of #2a6012
<div style="border: 4px solid #2a6012">Text here</div>
CSS codes
<p style="color:#2a6012">Text here</p>
<div style="background-color:#2a6012">Text here</div>
<div style="border: 4px solid #2a6012">Text here</div>
#2a6012 Color on white background
This is how a font and box color of #2a6012 will look
on a white background.
#2a6012 Color on black background
This is how a font and box color of #2a6012 hex color will look
on a black background.