In RGB color space, #2a7f28 hex color has a red value of 42, a green value of 127 and a blue value of 40.
In CMYK color space (used in color printing), #2a7f28 hex color is composed of 66.93% cyan, 0% magenta, 68.5% yellow and 50.2% black.
#2a7f28 color has a hue of 118.6 degrees, a saturation of 52.1% and a lightness of 32.7%.
#2a7f28 hex color contains mainly GREEN.
The closest web safe color of #2a7f28 is #336633
#2a7f28 hex color has a decimal value of 2785064.
HEX | 2a7f28 | #2a7f28 |
---|---|---|
RGB | 42, 127, 40 | rgb(42, 127, 40) |
RGB Percent | 16.47, 49.8, 15.69 | rgb(16.47, 49.8, 15.69) |
CMYK | 67, 0, 69, 50 | |
HSL | 118.6°, 52.1, 32.7 | hsl(118.6, 52.1%, 32.7%) |
HSV | 118.6°, 68.5, 49.8 |
XYZ | 8.927, 15.824, 4.591 |
---|---|
Hunter Lab | 39.779, -29.556, 21.003 |
CIE-LAB | 46.743, -43.164, 38.566 |
CIE-LCH | 46.743, 57.883, 138.22 |
CIE-LUV | 66.93, 0, 68.5, 50.2 |
Web Safe | 336633 |
RGB percent of color #2a7f28
CMYK percent of color #2a7f28
Text with hexadecimal color #2a7f28
This text has a font color of #2a7f28
<p style="color:#2a7f28">Text here</p>
#2a7f28 Background Color
This box has a background color of #2a7f28
<div style="background-color:#2a7f28">Text here</div>
#2a7f28 Border Color
This box has a border color of #2a7f28
<div style="border: 4px solid #2a7f28">Text here</div>
CSS codes
<p style="color:#2a7f28">Text here</p>
<div style="background-color:#2a7f28">Text here</div>
<div style="border: 4px solid #2a7f28">Text here</div>
#2a7f28 Color on white background
This is how a font and box color of #2a7f28 will look
on a white background.
#2a7f28 Color on black background
This is how a font and box color of #2a7f28 hex color will look
on a black background.