In RGB color space, #5a5202 hex color has a red value of 90, a green value of 82 and a blue value of 2.
In CMYK color space (used in color printing), #5a5202 hex color is composed of 0% cyan, 8.89% magenta, 97.78% yellow and 64.71% black.
#5a5202 color has a hue of 54.5 degrees, a saturation of 95.65% and a lightness of 18%.
#5a5202 hex color contains mainly RED.
The closest web safe color of #5a5202 is #666600
#5a5202 hex color has a decimal value of 5919234.
HEX | 5a5202 | #5a5202 |
---|---|---|
RGB | 90, 82, 2 | rgb(90, 82, 2) |
RGB Percent | 35.29, 32.16, 0.78 | rgb(35.29, 32.16, 0.78) |
CMYK | 0, 9, 98, 65 | |
HSL | 54.5°, 95.65, 18 | hsl(54.5, 95.65%, 18%) |
HSV | 54.5°, 97.8, 35.3 |
XYZ | 7.245, 8.213, 1.261 |
---|---|
Hunter Lab | 28.658, -5.026, 17.452 |
CIE-LAB | 34.423, -5.338, 41.686 |
CIE-LCH | 34.423, 42.026, 97.297 |
CIE-LUV | 0, 8.89, 97.78, 64.71 |
Web Safe | 666600 |
RGB percent of color #5a5202
CMYK percent of color #5a5202
Text with hexadecimal color #5a5202
This text has a font color of #5a5202
<p style="color:#5a5202">Text here</p>
#5a5202 Background Color
This box has a background color of #5a5202
<div style="background-color:#5a5202">Text here</div>
#5a5202 Border Color
This box has a border color of #5a5202
<div style="border: 4px solid #5a5202">Text here</div>
CSS codes
<p style="color:#5a5202">Text here</p>
<div style="background-color:#5a5202">Text here</div>
<div style="border: 4px solid #5a5202">Text here</div>
#5a5202 Color on white background
This is how a font and box color of #5a5202 will look
on a white background.
#5a5202 Color on black background
This is how a font and box color of #5a5202 hex color will look
on a black background.