In RGB color space, #2a4a1f hex color has a red value of 42, a green value of 74 and a blue value of 31.
In CMYK color space (used in color printing), #2a4a1f hex color is composed of 43.24% cyan, 0% magenta, 58.11% yellow and 70.98% black.
#2a4a1f color has a hue of 104.7 degrees, a saturation of 40.95% and a lightness of 20.6%.
#2a4a1f hex color contains mainly GREEN.
The closest web safe color of #2a4a1f is #333333
#2a4a1f hex color has a decimal value of 2771487.
HEX | 2a4a1f | #2a4a1f |
---|---|---|
RGB | 42, 74, 31 | rgb(42, 74, 31) |
RGB Percent | 16.47, 29.02, 12.16 | rgb(16.47, 29.02, 12.16) |
CMYK | 43, 0, 58, 71 | |
HSL | 104.7°, 40.95, 20.6 | hsl(104.7, 40.95%, 20.6%) |
HSV | 104.7°, 58.1, 29 |
XYZ | 3.651, 5.489, 2.163 |
---|---|
Hunter Lab | 23.429, -13.184, 10.926 |
CIE-LAB | 28.085, -21.316, 21.842 |
CIE-LCH | 28.085, 30.52, 134.302 |
CIE-LUV | 43.24, 0, 58.11, 70.98 |
Web Safe | 333333 |
RGB percent of color #2a4a1f
CMYK percent of color #2a4a1f
Text with hexadecimal color #2a4a1f
This text has a font color of #2a4a1f
<p style="color:#2a4a1f">Text here</p>
#2a4a1f Background Color
This box has a background color of #2a4a1f
<div style="background-color:#2a4a1f">Text here</div>
#2a4a1f Border Color
This box has a border color of #2a4a1f
<div style="border: 4px solid #2a4a1f">Text here</div>
CSS codes
<p style="color:#2a4a1f">Text here</p>
<div style="background-color:#2a4a1f">Text here</div>
<div style="border: 4px solid #2a4a1f">Text here</div>
#2a4a1f Color on white background
This is how a font and box color of #2a4a1f will look
on a white background.
#2a4a1f Color on black background
This is how a font and box color of #2a4a1f hex color will look
on a black background.