In RGB color space, #2a7f50 hex color has a red value of 42, a green value of 127 and a blue value of 80.
In CMYK color space (used in color printing), #2a7f50 hex color is composed of 66.93% cyan, 0% magenta, 37.01% yellow and 50.2% black.
#2a7f50 color has a hue of 146.8 degrees, a saturation of 50.3% and a lightness of 33.1%.
#2a7f50 hex color contains mainly GREEN.
The closest web safe color of #2a7f50 is #336666
#2a7f50 hex color has a decimal value of 2785104.
HEX | 2a7f50 | #2a7f50 |
---|---|---|
RGB | 42, 127, 80 | rgb(42, 127, 80) |
RGB Percent | 16.47, 49.8, 31.37 | rgb(16.47, 49.8, 31.37) |
CMYK | 67, 0, 37, 50 | |
HSL | 146.8°, 50.3, 33.1 | hsl(146.8, 50.3%, 33.1%) |
HSV | 146.8°, 66.9, 49.8 |
XYZ | 9.992, 16.25, 10.199 |
---|---|
Hunter Lab | 40.311, -26.3, 13.217 |
CIE-LAB | 47.301, -36.869, 18.309 |
CIE-LCH | 47.301, 41.165, 153.591 |
CIE-LUV | 66.93, 0, 37.01, 50.2 |
Web Safe | 336666 |
RGB percent of color #2a7f50
CMYK percent of color #2a7f50
Text with hexadecimal color #2a7f50
This text has a font color of #2a7f50
<p style="color:#2a7f50">Text here</p>
#2a7f50 Background Color
This box has a background color of #2a7f50
<div style="background-color:#2a7f50">Text here</div>
#2a7f50 Border Color
This box has a border color of #2a7f50
<div style="border: 4px solid #2a7f50">Text here</div>
CSS codes
<p style="color:#2a7f50">Text here</p>
<div style="background-color:#2a7f50">Text here</div>
<div style="border: 4px solid #2a7f50">Text here</div>
#2a7f50 Color on white background
This is how a font and box color of #2a7f50 will look
on a white background.
#2a7f50 Color on black background
This is how a font and box color of #2a7f50 hex color will look
on a black background.