In RGB color space, #2a5120 hex color has a red value of 42, a green value of 81 and a blue value of 32.
In CMYK color space (used in color printing), #2a5120 hex color is composed of 48.15% cyan, 0% magenta, 60.49% yellow and 68.24% black.
#2a5120 color has a hue of 107.8 degrees, a saturation of 43.36% and a lightness of 22.2%.
#2a5120 hex color contains mainly GREEN.
The closest web safe color of #2a5120 is #336633
#2a5120 hex color has a decimal value of 2773280.
HEX | 2a5120 | #2a5120 |
---|---|---|
RGB | 42, 81, 32 | rgb(42, 81, 32) |
RGB Percent | 16.47, 31.76, 12.55 | rgb(16.47, 31.76, 12.55) |
CMYK | 48, 0, 60, 68 | |
HSL | 107.8°, 43.36, 22.2 | hsl(107.8, 43.36%, 22.2%) |
HSV | 107.8°, 60.5, 31.8 |
XYZ | 4.158, 6.481, 2.398 |
---|---|
Hunter Lab | 25.458, -15.397, 12.236 |
CIE-LAB | 30.595, -24.662, 24.275 |
CIE-LCH | 30.595, 34.605, 135.453 |
CIE-LUV | 48.15, 0, 60.49, 68.24 |
Web Safe | 336633 |
RGB percent of color #2a5120
CMYK percent of color #2a5120
Text with hexadecimal color #2a5120
This text has a font color of #2a5120
<p style="color:#2a5120">Text here</p>
#2a5120 Background Color
This box has a background color of #2a5120
<div style="background-color:#2a5120">Text here</div>
#2a5120 Border Color
This box has a border color of #2a5120
<div style="border: 4px solid #2a5120">Text here</div>
CSS codes
<p style="color:#2a5120">Text here</p>
<div style="background-color:#2a5120">Text here</div>
<div style="border: 4px solid #2a5120">Text here</div>
#2a5120 Color on white background
This is how a font and box color of #2a5120 will look
on a white background.
#2a5120 Color on black background
This is how a font and box color of #2a5120 hex color will look
on a black background.