In RGB color space, #2a5f18 hex color has a red value of 42, a green value of 95 and a blue value of 24.
In CMYK color space (used in color printing), #2a5f18 hex color is composed of 55.79% cyan, 0% magenta, 74.74% yellow and 62.75% black.
#2a5f18 color has a hue of 104.8 degrees, a saturation of 59.66% and a lightness of 23.3%.
#2a5f18 hex color contains mainly GREEN.
The closest web safe color of #2a5f18 is #336600
#2a5f18 hex color has a decimal value of 2776856.
HEX | 2a5f18 | #2a5f18 |
---|---|---|
RGB | 42, 95, 24 | rgb(42, 95, 24) |
RGB Percent | 16.47, 37.25, 9.41 | rgb(16.47, 37.25, 9.41) |
CMYK | 56, 0, 75, 63 | |
HSL | 104.8°, 59.66, 23.3 | hsl(104.8, 59.66%, 23.3%) |
HSV | 104.8°, 74.7, 37.3 |
XYZ | 5.212, 8.743, 2.277 |
---|---|
Hunter Lab | 29.569, -20.281, 16.132 |
CIE-LAB | 35.485, -31.958, 33.665 |
CIE-LCH | 35.485, 46.418, 133.51 |
CIE-LUV | 55.79, 0, 74.74, 62.75 |
Web Safe | 336600 |
RGB percent of color #2a5f18
CMYK percent of color #2a5f18
Text with hexadecimal color #2a5f18
This text has a font color of #2a5f18
<p style="color:#2a5f18">Text here</p>
#2a5f18 Background Color
This box has a background color of #2a5f18
<div style="background-color:#2a5f18">Text here</div>
#2a5f18 Border Color
This box has a border color of #2a5f18
<div style="border: 4px solid #2a5f18">Text here</div>
CSS codes
<p style="color:#2a5f18">Text here</p>
<div style="background-color:#2a5f18">Text here</div>
<div style="border: 4px solid #2a5f18">Text here</div>
#2a5f18 Color on white background
This is how a font and box color of #2a5f18 will look
on a white background.
#2a5f18 Color on black background
This is how a font and box color of #2a5f18 hex color will look
on a black background.