In RGB color space, #2a5540 hex color has a red value of 42, a green value of 85 and a blue value of 64.
In CMYK color space (used in color printing), #2a5540 hex color is composed of 50.59% cyan, 0% magenta, 24.71% yellow and 66.67% black.
#2a5540 color has a hue of 150.7 degrees, a saturation of 33.86% and a lightness of 24.9%.
#2a5540 hex color contains mainly GREEN.
The closest web safe color of #2a5540 is #336633
#2a5540 hex color has a decimal value of 2774336.
HEX | 2a5540 | #2a5540 |
---|---|---|
RGB | 42, 85, 64 | rgb(42, 85, 64) |
RGB Percent | 16.47, 33.33, 25.1 | rgb(16.47, 33.33, 25.1) |
CMYK | 51, 0, 25, 67 | |
HSL | 150.7°, 33.86, 24.9 | hsl(150.7, 33.86%, 24.9%) |
HSV | 150.7°, 50.6, 33.3 |
XYZ | 5.129, 7.359, 6.001 |
---|---|
Hunter Lab | 27.127, -13.724, 5.873 |
CIE-LAB | 32.611, -20.584, 7.7 |
CIE-LCH | 32.611, 21.977, 159.49 |
CIE-LUV | 50.59, 0, 24.71, 66.67 |
Web Safe | 336633 |
RGB percent of color #2a5540
CMYK percent of color #2a5540
Text with hexadecimal color #2a5540
This text has a font color of #2a5540
<p style="color:#2a5540">Text here</p>
#2a5540 Background Color
This box has a background color of #2a5540
<div style="background-color:#2a5540">Text here</div>
#2a5540 Border Color
This box has a border color of #2a5540
<div style="border: 4px solid #2a5540">Text here</div>
CSS codes
<p style="color:#2a5540">Text here</p>
<div style="background-color:#2a5540">Text here</div>
<div style="border: 4px solid #2a5540">Text here</div>
#2a5540 Color on white background
This is how a font and box color of #2a5540 will look
on a white background.
#2a5540 Color on black background
This is how a font and box color of #2a5540 hex color will look
on a black background.