In RGB color space, #5a1238 hex color has a red value of 90, a green value of 18 and a blue value of 56.
In CMYK color space (used in color printing), #5a1238 hex color is composed of 0% cyan, 80% magenta, 37.78% yellow and 64.71% black.
#5a1238 color has a hue of 328.3 degrees, a saturation of 66.67% and a lightness of 21.2%.
#5a1238 hex color contains mainly RED.
The closest web safe color of #5a1238 is #660033
#5a1238 hex color has a decimal value of 5902904.
HEX | 5a1238 | #5a1238 |
---|---|---|
RGB | 90, 18, 56 | rgb(90, 18, 56) |
RGB Percent | 35.29, 7.06, 21.96 | rgb(35.29, 7.06, 21.96) |
CMYK | 0, 80, 38, 65 | |
HSL | 328.3°, 66.67, 21.2 | hsl(328.3, 66.67%, 21.2%) |
HSV | 328.3°, 80, 35.3 |
XYZ | 5.147, 2.892, 4.028 |
---|---|
Hunter Lab | 17.006, 24.265, -2.139 |
CIE-LAB | 19.606, 35.691, -5.251 |
CIE-LCH | 19.606, 36.075, 351.63 |
CIE-LUV | 0, 80, 37.78, 64.71 |
Web Safe | 660033 |
RGB percent of color #5a1238
CMYK percent of color #5a1238
Text with hexadecimal color #5a1238
This text has a font color of #5a1238
<p style="color:#5a1238">Text here</p>
#5a1238 Background Color
This box has a background color of #5a1238
<div style="background-color:#5a1238">Text here</div>
#5a1238 Border Color
This box has a border color of #5a1238
<div style="border: 4px solid #5a1238">Text here</div>
CSS codes
<p style="color:#5a1238">Text here</p>
<div style="background-color:#5a1238">Text here</div>
<div style="border: 4px solid #5a1238">Text here</div>
#5a1238 Color on white background
This is how a font and box color of #5a1238 will look
on a white background.
#5a1238 Color on black background
This is how a font and box color of #5a1238 hex color will look
on a black background.