In RGB color space, #2a7f52 hex color has a red value of 42, a green value of 127 and a blue value of 82.
In CMYK color space (used in color printing), #2a7f52 hex color is composed of 66.93% cyan, 0% magenta, 35.43% yellow and 50.2% black.
#2a7f52 color has a hue of 148.2 degrees, a saturation of 50.3% and a lightness of 33.1%.
#2a7f52 hex color contains mainly GREEN.
The closest web safe color of #2a7f52 is #336666
#2a7f52 hex color has a decimal value of 2785106.
HEX | 2a7f52 | #2a7f52 |
---|---|---|
RGB | 42, 127, 82 | rgb(42, 127, 82) |
RGB Percent | 16.47, 49.8, 32.16 | rgb(16.47, 49.8, 32.16) |
CMYK | 67, 0, 35, 50 | |
HSL | 148.2°, 50.3, 33.1 | hsl(148.2, 50.3%, 33.1%) |
HSV | 148.2°, 66.9, 49.8 |
XYZ | 10.067, 16.28, 10.594 |
---|---|
Hunter Lab | 40.348, -26.074, 12.677 |
CIE-LAB | 47.34, -36.447, 17.219 |
CIE-LCH | 47.34, 40.31, 154.712 |
CIE-LUV | 66.93, 0, 35.43, 50.2 |
Web Safe | 336666 |
RGB percent of color #2a7f52
CMYK percent of color #2a7f52
Text with hexadecimal color #2a7f52
This text has a font color of #2a7f52
<p style="color:#2a7f52">Text here</p>
#2a7f52 Background Color
This box has a background color of #2a7f52
<div style="background-color:#2a7f52">Text here</div>
#2a7f52 Border Color
This box has a border color of #2a7f52
<div style="border: 4px solid #2a7f52">Text here</div>
CSS codes
<p style="color:#2a7f52">Text here</p>
<div style="background-color:#2a7f52">Text here</div>
<div style="border: 4px solid #2a7f52">Text here</div>
#2a7f52 Color on white background
This is how a font and box color of #2a7f52 will look
on a white background.
#2a7f52 Color on black background
This is how a font and box color of #2a7f52 hex color will look
on a black background.