In RGB color space, #2a5128 hex color has a red value of 42, a green value of 81 and a blue value of 40.
In CMYK color space (used in color printing), #2a5128 hex color is composed of 48.15% cyan, 0% magenta, 50.62% yellow and 68.24% black.
#2a5128 color has a hue of 117.1 degrees, a saturation of 33.88% and a lightness of 23.7%.
#2a5128 hex color contains mainly GREEN.
The closest web safe color of #2a5128 is #336633
#2a5128 hex color has a decimal value of 2773288.
HEX | 2a5128 | #2a5128 |
---|---|---|
RGB | 42, 81, 40 | rgb(42, 81, 40) |
RGB Percent | 16.47, 31.76, 15.69 | rgb(16.47, 31.76, 15.69) |
CMYK | 48, 0, 51, 68 | |
HSL | 117.1°, 33.88, 23.7 | hsl(117.1, 33.88%, 23.7%) |
HSV | 117.1°, 50.6, 31.8 |
XYZ | 4.28, 6.53, 3.042 |
---|---|
Hunter Lab | 25.554, -14.822, 10.83 |
CIE-LAB | 30.712, -23.46, 19.851 |
CIE-LCH | 30.712, 30.732, 139.763 |
CIE-LUV | 48.15, 0, 50.62, 68.24 |
Web Safe | 336633 |
RGB percent of color #2a5128
CMYK percent of color #2a5128
Text with hexadecimal color #2a5128
This text has a font color of #2a5128
<p style="color:#2a5128">Text here</p>
#2a5128 Background Color
This box has a background color of #2a5128
<div style="background-color:#2a5128">Text here</div>
#2a5128 Border Color
This box has a border color of #2a5128
<div style="border: 4px solid #2a5128">Text here</div>
CSS codes
<p style="color:#2a5128">Text here</p>
<div style="background-color:#2a5128">Text here</div>
<div style="border: 4px solid #2a5128">Text here</div>
#2a5128 Color on white background
This is how a font and box color of #2a5128 will look
on a white background.
#2a5128 Color on black background
This is how a font and box color of #2a5128 hex color will look
on a black background.