In RGB color space, #2a5102 hex color has a red value of 42, a green value of 81 and a blue value of 2.
In CMYK color space (used in color printing), #2a5102 hex color is composed of 48.15% cyan, 0% magenta, 97.53% yellow and 68.24% black.
#2a5102 color has a hue of 89.6 degrees, a saturation of 95.18% and a lightness of 16.3%.
#2a5102 hex color contains mainly GREEN.
The closest web safe color of #2a5102 is #336600
#2a5102 hex color has a decimal value of 2773250.
HEX | 2a5102 | #2a5102 |
---|---|---|
RGB | 42, 81, 2 | rgb(42, 81, 2) |
RGB Percent | 16.47, 31.76, 0.78 | rgb(16.47, 31.76, 0.78) |
CMYK | 48, 0, 98, 68 | |
HSL | 89.6°, 95.18, 16.3 | hsl(89.6, 95.18%, 16.3%) |
HSV | 89.6°, 97.5, 31.8 |
XYZ | 3.908, 6.381, 1.083 |
---|---|
Hunter Lab | 25.261, -16.591, 15.141 |
CIE-LAB | 30.354, -27.228, 36.909 |
CIE-LCH | 30.354, 45.865, 126.416 |
CIE-LUV | 48.15, 0, 97.53, 68.24 |
Web Safe | 336600 |
RGB percent of color #2a5102
CMYK percent of color #2a5102
Text with hexadecimal color #2a5102
This text has a font color of #2a5102
<p style="color:#2a5102">Text here</p>
#2a5102 Background Color
This box has a background color of #2a5102
<div style="background-color:#2a5102">Text here</div>
#2a5102 Border Color
This box has a border color of #2a5102
<div style="border: 4px solid #2a5102">Text here</div>
CSS codes
<p style="color:#2a5102">Text here</p>
<div style="background-color:#2a5102">Text here</div>
<div style="border: 4px solid #2a5102">Text here</div>
#2a5102 Color on white background
This is how a font and box color of #2a5102 will look
on a white background.
#2a5102 Color on black background
This is how a font and box color of #2a5102 hex color will look
on a black background.