In RGB color space, #2a7042 hex color has a red value of 42, a green value of 112 and a blue value of 66.
In CMYK color space (used in color printing), #2a7042 hex color is composed of 62.5% cyan, 0% magenta, 41.07% yellow and 56.08% black.
#2a7042 color has a hue of 140.6 degrees, a saturation of 45.45% and a lightness of 30.2%.
#2a7042 hex color contains mainly GREEN.
The closest web safe color of #2a7042 is #336633
#2a7042 hex color has a decimal value of 2781250.
HEX | 2a7042 | #2a7042 |
---|---|---|
RGB | 42, 112, 66 | rgb(42, 112, 66) |
RGB Percent | 16.47, 43.92, 25.88 | rgb(16.47, 43.92, 25.88) |
CMYK | 63, 0, 41, 56 | |
HSL | 140.6°, 45.45, 30.2 | hsl(140.6, 45.45%, 30.2%) |
HSV | 140.6°, 62.5, 43.9 |
XYZ | 7.732, 12.474, 7.154 |
---|---|
Hunter Lab | 35.319, -22.73, 12.713 |
CIE-LAB | 41.96, -33.179, 19.227 |
CIE-LCH | 41.96, 38.347, 149.908 |
CIE-LUV | 62.5, 0, 41.07, 56.08 |
Web Safe | 336633 |
RGB percent of color #2a7042
CMYK percent of color #2a7042
Text with hexadecimal color #2a7042
This text has a font color of #2a7042
<p style="color:#2a7042">Text here</p>
#2a7042 Background Color
This box has a background color of #2a7042
<div style="background-color:#2a7042">Text here</div>
#2a7042 Border Color
This box has a border color of #2a7042
<div style="border: 4px solid #2a7042">Text here</div>
CSS codes
<p style="color:#2a7042">Text here</p>
<div style="background-color:#2a7042">Text here</div>
<div style="border: 4px solid #2a7042">Text here</div>
#2a7042 Color on white background
This is how a font and box color of #2a7042 will look
on a white background.
#2a7042 Color on black background
This is how a font and box color of #2a7042 hex color will look
on a black background.