In RGB color space, #2a5f0c hex color has a red value of 42, a green value of 95 and a blue value of 12.
In CMYK color space (used in color printing), #2a5f0c hex color is composed of 55.79% cyan, 0% magenta, 87.37% yellow and 62.75% black.
#2a5f0c color has a hue of 98.3 degrees, a saturation of 77.57% and a lightness of 21%.
#2a5f0c hex color contains mainly GREEN.
The closest web safe color of #2a5f0c is #336600
#2a5f0c hex color has a decimal value of 2776844.
HEX | 2a5f0c | #2a5f0c |
---|---|---|
RGB | 42, 95, 12 | rgb(42, 95, 12) |
RGB Percent | 16.47, 37.25, 4.71 | rgb(16.47, 37.25, 4.71) |
CMYK | 56, 0, 87, 63 | |
HSL | 98.3°, 77.57, 21 | hsl(98.3, 77.57%, 21%) |
HSV | 98.3°, 87.4, 37.3 |
XYZ | 5.113, 8.703, 1.758 |
---|---|
Hunter Lab | 29.501, -20.689, 17.117 |
CIE-LAB | 35.406, -32.83, 38.082 |
CIE-LCH | 35.406, 50.28, 130.764 |
CIE-LUV | 55.79, 0, 87.37, 62.75 |
Web Safe | 336600 |
RGB percent of color #2a5f0c
CMYK percent of color #2a5f0c
Text with hexadecimal color #2a5f0c
This text has a font color of #2a5f0c
<p style="color:#2a5f0c">Text here</p>
#2a5f0c Background Color
This box has a background color of #2a5f0c
<div style="background-color:#2a5f0c">Text here</div>
#2a5f0c Border Color
This box has a border color of #2a5f0c
<div style="border: 4px solid #2a5f0c">Text here</div>
CSS codes
<p style="color:#2a5f0c">Text here</p>
<div style="background-color:#2a5f0c">Text here</div>
<div style="border: 4px solid #2a5f0c">Text here</div>
#2a5f0c Color on white background
This is how a font and box color of #2a5f0c will look
on a white background.
#2a5f0c Color on black background
This is how a font and box color of #2a5f0c hex color will look
on a black background.