In RGB color space, #2a6f42 hex color has a red value of 42, a green value of 111 and a blue value of 66.
In CMYK color space (used in color printing), #2a6f42 hex color is composed of 62.16% cyan, 0% magenta, 40.54% yellow and 56.47% black.
#2a6f42 color has a hue of 140.9 degrees, a saturation of 45.1% and a lightness of 30%.
#2a6f42 hex color contains mainly GREEN.
The closest web safe color of #2a6f42 is #336633
#2a6f42 hex color has a decimal value of 2780994.
HEX | 2a6f42 | #2a6f42 |
---|---|---|
RGB | 42, 111, 66 | rgb(42, 111, 66) |
RGB Percent | 16.47, 43.53, 25.88 | rgb(16.47, 43.53, 25.88) |
CMYK | 62, 0, 41, 56 | |
HSL | 140.9°, 45.1, 30 | hsl(140.9, 45.1%, 30%) |
HSV | 140.9°, 62.2, 43.5 |
XYZ | 7.623, 12.254, 7.118 |
---|---|
Hunter Lab | 35.006, -22.389, 12.448 |
CIE-LAB | 41.617, -32.724, 18.772 |
CIE-LCH | 41.617, 37.726, 150.159 |
CIE-LUV | 62.16, 0, 40.54, 56.47 |
Web Safe | 336633 |
RGB percent of color #2a6f42
CMYK percent of color #2a6f42
Text with hexadecimal color #2a6f42
This text has a font color of #2a6f42
<p style="color:#2a6f42">Text here</p>
#2a6f42 Background Color
This box has a background color of #2a6f42
<div style="background-color:#2a6f42">Text here</div>
#2a6f42 Border Color
This box has a border color of #2a6f42
<div style="border: 4px solid #2a6f42">Text here</div>
CSS codes
<p style="color:#2a6f42">Text here</p>
<div style="background-color:#2a6f42">Text here</div>
<div style="border: 4px solid #2a6f42">Text here</div>
#2a6f42 Color on white background
This is how a font and box color of #2a6f42 will look
on a white background.
#2a6f42 Color on black background
This is how a font and box color of #2a6f42 hex color will look
on a black background.