In RGB color space, #2a7f48 hex color has a red value of 42, a green value of 127 and a blue value of 72.
In CMYK color space (used in color printing), #2a7f48 hex color is composed of 66.93% cyan, 0% magenta, 43.31% yellow and 50.2% black.
#2a7f48 color has a hue of 141.2 degrees, a saturation of 50.3% and a lightness of 33.1%.
#2a7f48 hex color contains mainly GREEN.
The closest web safe color of #2a7f48 is #336633
#2a7f48 hex color has a decimal value of 2785096.
HEX | 2a7f48 | #2a7f48 |
---|---|---|
RGB | 42, 127, 72 | rgb(42, 127, 72) |
RGB Percent | 16.47, 49.8, 28.24 | rgb(16.47, 49.8, 28.24) |
CMYK | 67, 0, 43, 50 | |
HSL | 141.2°, 50.3, 33.1 | hsl(141.2, 50.3%, 33.1%) |
HSV | 141.2°, 66.9, 49.8 |
XYZ | 9.714, 16.139, 8.734 |
---|---|
Hunter Lab | 40.173, -27.142, 15.231 |
CIE-LAB | 47.156, -38.455, 22.636 |
CIE-LCH | 47.156, 44.623, 149.517 |
CIE-LUV | 66.93, 0, 43.31, 50.2 |
Web Safe | 336633 |
RGB percent of color #2a7f48
CMYK percent of color #2a7f48
Text with hexadecimal color #2a7f48
This text has a font color of #2a7f48
<p style="color:#2a7f48">Text here</p>
#2a7f48 Background Color
This box has a background color of #2a7f48
<div style="background-color:#2a7f48">Text here</div>
#2a7f48 Border Color
This box has a border color of #2a7f48
<div style="border: 4px solid #2a7f48">Text here</div>
CSS codes
<p style="color:#2a7f48">Text here</p>
<div style="background-color:#2a7f48">Text here</div>
<div style="border: 4px solid #2a7f48">Text here</div>
#2a7f48 Color on white background
This is how a font and box color of #2a7f48 will look
on a white background.
#2a7f48 Color on black background
This is how a font and box color of #2a7f48 hex color will look
on a black background.