In RGB color space, #5a1228 hex color has a red value of 90, a green value of 18 and a blue value of 40.
In CMYK color space (used in color printing), #5a1228 hex color is composed of 0% cyan, 80% magenta, 55.56% yellow and 64.71% black.
#5a1228 color has a hue of 341.7 degrees, a saturation of 66.67% and a lightness of 21.2%.
#5a1228 hex color contains mainly RED.
The closest web safe color of #5a1228 is #660033
#5a1228 hex color has a decimal value of 5902888.
HEX | 5a1228 | #5a1228 |
---|---|---|
RGB | 90, 18, 40 | rgb(90, 18, 40) |
RGB Percent | 35.29, 7.06, 15.69 | rgb(35.29, 7.06, 15.69) |
CMYK | 0, 80, 56, 65 | |
HSL | 341.7°, 66.67, 21.2 | hsl(341.7, 66.67%, 21.2%) |
HSV | 341.7°, 80, 35.3 |
XYZ | 4.816, 2.759, 2.286 |
---|---|
Hunter Lab | 16.61, 22.687, 3.467 |
CIE-LAB | 19.052, 33.936, 5.26 |
CIE-LCH | 19.052, 34.341, 8.811 |
CIE-LUV | 0, 80, 55.56, 64.71 |
Web Safe | 660033 |
RGB percent of color #5a1228
CMYK percent of color #5a1228
Text with hexadecimal color #5a1228
This text has a font color of #5a1228
<p style="color:#5a1228">Text here</p>
#5a1228 Background Color
This box has a background color of #5a1228
<div style="background-color:#5a1228">Text here</div>
#5a1228 Border Color
This box has a border color of #5a1228
<div style="border: 4px solid #5a1228">Text here</div>
CSS codes
<p style="color:#5a1228">Text here</p>
<div style="background-color:#5a1228">Text here</div>
<div style="border: 4px solid #5a1228">Text here</div>
#5a1228 Color on white background
This is how a font and box color of #5a1228 will look
on a white background.
#5a1228 Color on black background
This is how a font and box color of #5a1228 hex color will look
on a black background.