In RGB color space, #5a126c hex color has a red value of 90, a green value of 18 and a blue value of 108.
In CMYK color space (used in color printing), #5a126c hex color is composed of 16.67% cyan, 83.33% magenta, 0% yellow and 57.65% black.
#5a126c color has a hue of 288 degrees, a saturation of 71.43% and a lightness of 24.7%.
#5a126c hex color contains mainly BLUE.
The closest web safe color of #5a126c is #660066
#5a126c hex color has a decimal value of 5902956.
HEX | 5a126c | #5a126c |
---|---|---|
RGB | 90, 18, 108 | rgb(90, 18, 108) |
RGB Percent | 35.29, 7.06, 42.35 | rgb(35.29, 7.06, 42.35) |
CMYK | 17, 83, 0, 58 | |
HSL | 288°, 71.43, 24.7 | hsl(288, 71.43%, 24.7%) |
HSV | 288°, 83.3, 42.4 |
XYZ | 7.14, 3.689, 14.523 |
---|---|
Hunter Lab | 19.207, 32.744, -31.387 |
CIE-LAB | 22.615, 44.525, -35.609 |
CIE-LCH | 22.615, 57.013, 321.349 |
CIE-LUV | 16.67, 83.33, 0, 57.65 |
Web Safe | 660066 |
RGB percent of color #5a126c
CMYK percent of color #5a126c
Text with hexadecimal color #5a126c
This text has a font color of #5a126c
<p style="color:#5a126c">Text here</p>
#5a126c Background Color
This box has a background color of #5a126c
<div style="background-color:#5a126c">Text here</div>
#5a126c Border Color
This box has a border color of #5a126c
<div style="border: 4px solid #5a126c">Text here</div>
CSS codes
<p style="color:#5a126c">Text here</p>
<div style="background-color:#5a126c">Text here</div>
<div style="border: 4px solid #5a126c">Text here</div>
#5a126c Color on white background
This is how a font and box color of #5a126c will look
on a white background.
#5a126c Color on black background
This is how a font and box color of #5a126c hex color will look
on a black background.