In RGB color space, #2a5f28 hex color has a red value of 42, a green value of 95 and a blue value of 40.
In CMYK color space (used in color printing), #2a5f28 hex color is composed of 55.79% cyan, 0% magenta, 57.89% yellow and 62.75% black.
#2a5f28 color has a hue of 117.8 degrees, a saturation of 40.74% and a lightness of 26.5%.
#2a5f28 hex color contains mainly GREEN.
The closest web safe color of #2a5f28 is #336633
#2a5f28 hex color has a decimal value of 2776872.
HEX | 2a5f28 | #2a5f28 |
---|---|---|
RGB | 42, 95, 40 | rgb(42, 95, 40) |
RGB Percent | 16.47, 37.25, 15.69 | rgb(16.47, 37.25, 15.69) |
CMYK | 56, 0, 58, 63 | |
HSL | 117.8°, 40.74, 26.5 | hsl(117.8, 40.74%, 26.5%) |
HSV | 117.8°, 57.9, 37.3 |
XYZ | 5.43, 8.83, 3.426 |
---|---|
Hunter Lab | 29.715, -19.384, 13.965 |
CIE-LAB | 35.655, -30.08, 25.92 |
CIE-LCH | 35.655, 39.707, 139.248 |
CIE-LUV | 55.79, 0, 57.89, 62.75 |
Web Safe | 336633 |
RGB percent of color #2a5f28
CMYK percent of color #2a5f28
Text with hexadecimal color #2a5f28
This text has a font color of #2a5f28
<p style="color:#2a5f28">Text here</p>
#2a5f28 Background Color
This box has a background color of #2a5f28
<div style="background-color:#2a5f28">Text here</div>
#2a5f28 Border Color
This box has a border color of #2a5f28
<div style="border: 4px solid #2a5f28">Text here</div>
CSS codes
<p style="color:#2a5f28">Text here</p>
<div style="background-color:#2a5f28">Text here</div>
<div style="border: 4px solid #2a5f28">Text here</div>
#2a5f28 Color on white background
This is how a font and box color of #2a5f28 will look
on a white background.
#2a5f28 Color on black background
This is how a font and box color of #2a5f28 hex color will look
on a black background.