In RGB color space, #2a7d18 hex color has a red value of 42, a green value of 125 and a blue value of 24.
In CMYK color space (used in color printing), #2a7d18 hex color is composed of 66.4% cyan, 0% magenta, 80.8% yellow and 50.98% black.
#2a7d18 color has a hue of 109.3 degrees, a saturation of 67.79% and a lightness of 29.2%.
#2a7d18 hex color contains mainly GREEN.
The closest web safe color of #2a7d18 is #336600
#2a7d18 hex color has a decimal value of 2784536.
HEX | 2a7d18 | #2a7d18 |
---|---|---|
RGB | 42, 125, 24 | rgb(42, 125, 24) |
RGB Percent | 16.47, 49.02, 9.41 | rgb(16.47, 49.02, 9.41) |
CMYK | 66, 0, 81, 51 | |
HSL | 109.3°, 67.79, 29.2 | hsl(109.3, 67.79%, 29.2%) |
HSV | 109.3°, 80.8, 49 |
XYZ | 8.453, 15.225, 3.357 |
---|---|
Hunter Lab | 39.019, -29.614, 22.212 |
CIE-LAB | 45.941, -43.804, 44.081 |
CIE-LCH | 45.941, 62.144, 134.819 |
CIE-LUV | 66.4, 0, 80.8, 50.98 |
Web Safe | 336600 |
RGB percent of color #2a7d18
CMYK percent of color #2a7d18
Text with hexadecimal color #2a7d18
This text has a font color of #2a7d18
<p style="color:#2a7d18">Text here</p>
#2a7d18 Background Color
This box has a background color of #2a7d18
<div style="background-color:#2a7d18">Text here</div>
#2a7d18 Border Color
This box has a border color of #2a7d18
<div style="border: 4px solid #2a7d18">Text here</div>
CSS codes
<p style="color:#2a7d18">Text here</p>
<div style="background-color:#2a7d18">Text here</div>
<div style="border: 4px solid #2a7d18">Text here</div>
#2a7d18 Color on white background
This is how a font and box color of #2a7d18 will look
on a white background.
#2a7d18 Color on black background
This is how a font and box color of #2a7d18 hex color will look
on a black background.