In RGB color space, #5a128c hex color has a red value of 90, a green value of 18 and a blue value of 140.
In CMYK color space (used in color printing), #5a128c hex color is composed of 35.71% cyan, 87.14% magenta, 0% yellow and 45.1% black.
#5a128c color has a hue of 275.4 degrees, a saturation of 77.22% and a lightness of 31%.
#5a128c hex color contains mainly BLUE.
The closest web safe color of #5a128c is #660099
#5a128c hex color has a decimal value of 5902988.
HEX | 5a128c | #5a128c |
---|---|---|
RGB | 90, 18, 140 | rgb(90, 18, 140) |
RGB Percent | 35.29, 7.06, 54.9 | rgb(35.29, 7.06, 54.9) |
CMYK | 36, 87, 0, 45 | |
HSL | 275.4°, 77.22, 31 | hsl(275.4, 77.22%, 31%) |
HSV | 275.4°, 87.1, 54.9 |
XYZ | 9.166, 4.5, 25.196 |
---|---|
Hunter Lab | 21.213, 40.005, -55.573 |
CIE-LAB | 25.26, 51.445, -51.65 |
CIE-LCH | 25.26, 72.899, 314.886 |
CIE-LUV | 35.71, 87.14, 0, 45.1 |
Web Safe | 660099 |
RGB percent of color #5a128c
CMYK percent of color #5a128c
Text with hexadecimal color #5a128c
This text has a font color of #5a128c
<p style="color:#5a128c">Text here</p>
#5a128c Background Color
This box has a background color of #5a128c
<div style="background-color:#5a128c">Text here</div>
#5a128c Border Color
This box has a border color of #5a128c
<div style="border: 4px solid #5a128c">Text here</div>
CSS codes
<p style="color:#5a128c">Text here</p>
<div style="background-color:#5a128c">Text here</div>
<div style="border: 4px solid #5a128c">Text here</div>
#5a128c Color on white background
This is how a font and box color of #5a128c will look
on a white background.
#5a128c Color on black background
This is how a font and box color of #5a128c hex color will look
on a black background.