In RGB color space, #2a5312 hex color has a red value of 42, a green value of 83 and a blue value of 18.
In CMYK color space (used in color printing), #2a5312 hex color is composed of 49.4% cyan, 0% magenta, 78.31% yellow and 67.45% black.
#2a5312 color has a hue of 97.8 degrees, a saturation of 64.36% and a lightness of 19.8%.
#2a5312 hex color contains mainly GREEN.
The closest web safe color of #2a5312 is #336600
#2a5312 hex color has a decimal value of 2773778.
HEX | 2a5312 | #2a5312 |
---|---|---|
RGB | 42, 83, 18 | rgb(42, 83, 18) |
RGB Percent | 16.47, 32.55, 7.06 | rgb(16.47, 32.55, 7.06) |
CMYK | 49, 0, 78, 67 | |
HSL | 97.8°, 64.36, 19.8 | hsl(97.8, 64.36%, 19.8%) |
HSV | 97.8°, 78.3, 32.5 |
XYZ | 4.157, 6.722, 1.651 |
---|---|
Hunter Lab | 25.927, -16.752, 14.373 |
CIE-LAB | 31.165, -27.135, 31.817 |
CIE-LCH | 31.165, 41.817, 130.459 |
CIE-LUV | 49.4, 0, 78.31, 67.45 |
Web Safe | 336600 |
RGB percent of color #2a5312
CMYK percent of color #2a5312
Text with hexadecimal color #2a5312
This text has a font color of #2a5312
<p style="color:#2a5312">Text here</p>
#2a5312 Background Color
This box has a background color of #2a5312
<div style="background-color:#2a5312">Text here</div>
#2a5312 Border Color
This box has a border color of #2a5312
<div style="border: 4px solid #2a5312">Text here</div>
CSS codes
<p style="color:#2a5312">Text here</p>
<div style="background-color:#2a5312">Text here</div>
<div style="border: 4px solid #2a5312">Text here</div>
#2a5312 Color on white background
This is how a font and box color of #2a5312 will look
on a white background.
#2a5312 Color on black background
This is how a font and box color of #2a5312 hex color will look
on a black background.