In RGB color space, #2a5112 hex color has a red value of 42, a green value of 81 and a blue value of 18.
In CMYK color space (used in color printing), #2a5112 hex color is composed of 48.15% cyan, 0% magenta, 77.78% yellow and 68.24% black.
#2a5112 color has a hue of 97.1 degrees, a saturation of 63.64% and a lightness of 19.4%.
#2a5112 hex color contains mainly GREEN.
The closest web safe color of #2a5112 is #336600
#2a5112 hex color has a decimal value of 2773266.
HEX | 2a5112 | #2a5112 |
---|---|---|
RGB | 42, 81, 18 | rgb(42, 81, 18) |
RGB Percent | 16.47, 31.76, 7.06 | rgb(16.47, 31.76, 7.06) |
CMYK | 48, 0, 78, 68 | |
HSL | 97.1°, 63.64, 19.4 | hsl(97.1, 63.64%, 19.4%) |
HSV | 97.1°, 77.8, 31.8 |
XYZ | 4.006, 6.421, 1.6 |
---|---|
Hunter Lab | 25.34, -16.125, 13.994 |
CIE-LAB | 30.451, -26.214, 31.1 |
CIE-LCH | 30.451, 40.674, 130.127 |
CIE-LUV | 48.15, 0, 77.78, 68.24 |
Web Safe | 336600 |
RGB percent of color #2a5112
CMYK percent of color #2a5112
Text with hexadecimal color #2a5112
This text has a font color of #2a5112
<p style="color:#2a5112">Text here</p>
#2a5112 Background Color
This box has a background color of #2a5112
<div style="background-color:#2a5112">Text here</div>
#2a5112 Border Color
This box has a border color of #2a5112
<div style="border: 4px solid #2a5112">Text here</div>
CSS codes
<p style="color:#2a5112">Text here</p>
<div style="background-color:#2a5112">Text here</div>
<div style="border: 4px solid #2a5112">Text here</div>
#2a5112 Color on white background
This is how a font and box color of #2a5112 will look
on a white background.
#2a5112 Color on black background
This is how a font and box color of #2a5112 hex color will look
on a black background.