In RGB color space, #2a7b18 hex color has a red value of 42, a green value of 123 and a blue value of 24.
In CMYK color space (used in color printing), #2a7b18 hex color is composed of 65.85% cyan, 0% magenta, 80.49% yellow and 51.76% black.
#2a7b18 color has a hue of 109.1 degrees, a saturation of 67.35% and a lightness of 28.8%.
#2a7b18 hex color contains mainly GREEN.
The closest web safe color of #2a7b18 is #336600
#2a7b18 hex color has a decimal value of 2784024.
HEX | 2a7b18 | #2a7b18 |
---|---|---|
RGB | 42, 123, 24 | rgb(42, 123, 24) |
RGB Percent | 16.47, 48.24, 9.41 | rgb(16.47, 48.24, 9.41) |
CMYK | 66, 0, 80, 52 | |
HSL | 109.1°, 67.35, 28.8 | hsl(109.1, 67.35%, 28.8%) |
HSV | 109.1°, 80.5, 48.2 |
XYZ | 8.203, 14.724, 3.274 |
---|---|
Hunter Lab | 38.372, -28.992, 21.802 |
CIE-LAB | 45.254, -43.065, 43.418 |
CIE-LCH | 45.254, 61.153, 134.766 |
CIE-LUV | 65.85, 0, 80.49, 51.76 |
Web Safe | 336600 |
RGB percent of color #2a7b18
CMYK percent of color #2a7b18
Text with hexadecimal color #2a7b18
This text has a font color of #2a7b18
<p style="color:#2a7b18">Text here</p>
#2a7b18 Background Color
This box has a background color of #2a7b18
<div style="background-color:#2a7b18">Text here</div>
#2a7b18 Border Color
This box has a border color of #2a7b18
<div style="border: 4px solid #2a7b18">Text here</div>
CSS codes
<p style="color:#2a7b18">Text here</p>
<div style="background-color:#2a7b18">Text here</div>
<div style="border: 4px solid #2a7b18">Text here</div>
#2a7b18 Color on white background
This is how a font and box color of #2a7b18 will look
on a white background.
#2a7b18 Color on black background
This is how a font and box color of #2a7b18 hex color will look
on a black background.