In RGB color space, #2a5228 hex color has a red value of 42, a green value of 82 and a blue value of 40.
In CMYK color space (used in color printing), #2a5228 hex color is composed of 48.78% cyan, 0% magenta, 51.22% yellow and 67.84% black.
#2a5228 color has a hue of 117.1 degrees, a saturation of 34.43% and a lightness of 23.9%.
#2a5228 hex color contains mainly GREEN.
The closest web safe color of #2a5228 is #336633
#2a5228 hex color has a decimal value of 2773544.
HEX | 2a5228 | #2a5228 |
---|---|---|
RGB | 42, 82, 40 | rgb(42, 82, 40) |
RGB Percent | 16.47, 32.16, 15.69 | rgb(16.47, 32.16, 15.69) |
CMYK | 49, 0, 51, 68 | |
HSL | 117.1°, 34.43, 23.9 | hsl(117.1, 34.43%, 23.9%) |
HSV | 117.1°, 51.2, 32.2 |
XYZ | 4.355, 6.68, 3.067 |
---|---|
Hunter Lab | 25.846, -15.153, 11.056 |
CIE-LAB | 31.067, -23.957, 20.297 |
CIE-LCH | 31.067, 31.399, 139.728 |
CIE-LUV | 48.78, 0, 51.22, 67.84 |
Web Safe | 336633 |
RGB percent of color #2a5228
CMYK percent of color #2a5228
Text with hexadecimal color #2a5228
This text has a font color of #2a5228
<p style="color:#2a5228">Text here</p>
#2a5228 Background Color
This box has a background color of #2a5228
<div style="background-color:#2a5228">Text here</div>
#2a5228 Border Color
This box has a border color of #2a5228
<div style="border: 4px solid #2a5228">Text here</div>
CSS codes
<p style="color:#2a5228">Text here</p>
<div style="background-color:#2a5228">Text here</div>
<div style="border: 4px solid #2a5228">Text here</div>
#2a5228 Color on white background
This is how a font and box color of #2a5228 will look
on a white background.
#2a5228 Color on black background
This is how a font and box color of #2a5228 hex color will look
on a black background.