In RGB color space, #2a7f0b hex color has a red value of 42, a green value of 127 and a blue value of 11.
In CMYK color space (used in color printing), #2a7f0b hex color is composed of 66.93% cyan, 0% magenta, 91.34% yellow and 50.2% black.
#2a7f0b color has a hue of 104 degrees, a saturation of 84.06% and a lightness of 27.1%.
#2a7f0b hex color contains mainly GREEN.
The closest web safe color of #2a7f0b is #336600
#2a7f0b hex color has a decimal value of 2785035.
HEX | 2a7f0b | #2a7f0b |
---|---|---|
RGB | 42, 127, 11 | rgb(42, 127, 11) |
RGB Percent | 16.47, 49.8, 4.31 | rgb(16.47, 49.8, 4.31) |
CMYK | 67, 0, 91, 50 | |
HSL | 104°, 84.06, 27.1 | hsl(104, 84.06%, 27.1%) |
HSV | 104°, 91.3, 49.8 |
XYZ | 8.605, 15.695, 2.893 |
---|---|
Hunter Lab | 39.617, -30.558, 23.402 |
CIE-LAB | 46.572, -45.193, 48.203 |
CIE-LCH | 46.572, 66.075, 133.154 |
CIE-LUV | 66.93, 0, 91.34, 50.2 |
Web Safe | 336600 |
RGB percent of color #2a7f0b
CMYK percent of color #2a7f0b
Text with hexadecimal color #2a7f0b
This text has a font color of #2a7f0b
<p style="color:#2a7f0b">Text here</p>
#2a7f0b Background Color
This box has a background color of #2a7f0b
<div style="background-color:#2a7f0b">Text here</div>
#2a7f0b Border Color
This box has a border color of #2a7f0b
<div style="border: 4px solid #2a7f0b">Text here</div>
CSS codes
<p style="color:#2a7f0b">Text here</p>
<div style="background-color:#2a7f0b">Text here</div>
<div style="border: 4px solid #2a7f0b">Text here</div>
#2a7f0b Color on white background
This is how a font and box color of #2a7f0b will look
on a white background.
#2a7f0b Color on black background
This is how a font and box color of #2a7f0b hex color will look
on a black background.