In RGB color space, #2a5204 hex color has a red value of 42, a green value of 82 and a blue value of 4.
In CMYK color space (used in color printing), #2a5204 hex color is composed of 48.78% cyan, 0% magenta, 95.12% yellow and 67.84% black.
#2a5204 color has a hue of 90.8 degrees, a saturation of 90.7% and a lightness of 16.9%.
#2a5204 hex color contains mainly GREEN.
The closest web safe color of #2a5204 is #336600
#2a5204 hex color has a decimal value of 2773508.
HEX | 2a5204 | #2a5204 |
---|---|---|
RGB | 42, 82, 4 | rgb(42, 82, 4) |
RGB Percent | 16.47, 32.16, 1.57 | rgb(16.47, 32.16, 1.57) |
CMYK | 49, 0, 95, 68 | |
HSL | 90.8°, 90.7, 16.9 | hsl(90.8, 90.7%, 16.9%) |
HSV | 90.8°, 95.1, 32.2 |
XYZ | 3.994, 6.536, 1.166 |
---|---|
Hunter Lab | 25.566, -16.854, 15.192 |
CIE-LAB | 30.726, -27.576, 36.479 |
CIE-LCH | 30.726, 45.729, 127.087 |
CIE-LUV | 48.78, 0, 95.12, 67.84 |
Web Safe | 336600 |
RGB percent of color #2a5204
CMYK percent of color #2a5204
Text with hexadecimal color #2a5204
This text has a font color of #2a5204
<p style="color:#2a5204">Text here</p>
#2a5204 Background Color
This box has a background color of #2a5204
<div style="background-color:#2a5204">Text here</div>
#2a5204 Border Color
This box has a border color of #2a5204
<div style="border: 4px solid #2a5204">Text here</div>
CSS codes
<p style="color:#2a5204">Text here</p>
<div style="background-color:#2a5204">Text here</div>
<div style="border: 4px solid #2a5204">Text here</div>
#2a5204 Color on white background
This is how a font and box color of #2a5204 will look
on a white background.
#2a5204 Color on black background
This is how a font and box color of #2a5204 hex color will look
on a black background.