In RGB color space, #2a4b1f hex color has a red value of 42, a green value of 75 and a blue value of 31.
In CMYK color space (used in color printing), #2a4b1f hex color is composed of 44% cyan, 0% magenta, 58.67% yellow and 70.59% black.
#2a4b1f color has a hue of 105 degrees, a saturation of 41.51% and a lightness of 20.8%.
#2a4b1f hex color contains mainly GREEN.
The closest web safe color of #2a4b1f is #333333
#2a4b1f hex color has a decimal value of 2771743.
HEX | 2a4b1f | #2a4b1f |
---|---|---|
RGB | 42, 75, 31 | rgb(42, 75, 31) |
RGB Percent | 16.47, 29.41, 12.16 | rgb(16.47, 29.41, 12.16) |
CMYK | 44, 0, 59, 71 | |
HSL | 105°, 41.51, 20.8 | hsl(105, 41.51%, 20.8%) |
HSV | 105°, 58.7, 29.4 |
XYZ | 3.718, 5.623, 2.186 |
---|---|
Hunter Lab | 23.713, -13.51, 11.133 |
CIE-LAB | 28.441, -21.824, 22.264 |
CIE-LCH | 28.441, 31.176, 134.428 |
CIE-LUV | 44, 0, 58.67, 70.59 |
Web Safe | 333333 |
RGB percent of color #2a4b1f
CMYK percent of color #2a4b1f
Text with hexadecimal color #2a4b1f
This text has a font color of #2a4b1f
<p style="color:#2a4b1f">Text here</p>
#2a4b1f Background Color
This box has a background color of #2a4b1f
<div style="background-color:#2a4b1f">Text here</div>
#2a4b1f Border Color
This box has a border color of #2a4b1f
<div style="border: 4px solid #2a4b1f">Text here</div>
CSS codes
<p style="color:#2a4b1f">Text here</p>
<div style="background-color:#2a4b1f">Text here</div>
<div style="border: 4px solid #2a4b1f">Text here</div>
#2a4b1f Color on white background
This is how a font and box color of #2a4b1f will look
on a white background.
#2a4b1f Color on black background
This is how a font and box color of #2a4b1f hex color will look
on a black background.