In RGB color space, #2a5f42 hex color has a red value of 42, a green value of 95 and a blue value of 66.
In CMYK color space (used in color printing), #2a5f42 hex color is composed of 55.79% cyan, 0% magenta, 30.53% yellow and 62.75% black.
#2a5f42 color has a hue of 147.2 degrees, a saturation of 38.69% and a lightness of 26.9%.
#2a5f42 hex color contains mainly GREEN.
The closest web safe color of #2a5f42 is #336633
#2a5f42 hex color has a decimal value of 2776898.
HEX | 2a5f42 | #2a5f42 |
---|---|---|
RGB | 42, 95, 66 | rgb(42, 95, 66) |
RGB Percent | 16.47, 37.25, 25.88 | rgb(16.47, 37.25, 25.88) |
CMYK | 56, 0, 31, 63 | |
HSL | 147.2°, 38.69, 26.9 | hsl(147.2, 38.69%, 26.9%) |
HSV | 147.2°, 55.8, 37.3 |
XYZ | 6.03, 9.07, 6.587 |
---|---|
Hunter Lab | 30.116, -16.964, 8.114 |
CIE-LAB | 36.119, -25.232, 11.347 |
CIE-LCH | 36.119, 27.666, 155.786 |
CIE-LUV | 55.79, 0, 30.53, 62.75 |
Web Safe | 336633 |
RGB percent of color #2a5f42
CMYK percent of color #2a5f42
Text with hexadecimal color #2a5f42
This text has a font color of #2a5f42
<p style="color:#2a5f42">Text here</p>
#2a5f42 Background Color
This box has a background color of #2a5f42
<div style="background-color:#2a5f42">Text here</div>
#2a5f42 Border Color
This box has a border color of #2a5f42
<div style="border: 4px solid #2a5f42">Text here</div>
CSS codes
<p style="color:#2a5f42">Text here</p>
<div style="background-color:#2a5f42">Text here</div>
<div style="border: 4px solid #2a5f42">Text here</div>
#2a5f42 Color on white background
This is how a font and box color of #2a5f42 will look
on a white background.
#2a5f42 Color on black background
This is how a font and box color of #2a5f42 hex color will look
on a black background.