In RGB color space, #5a12b7 hex color has a red value of 90, a green value of 18 and a blue value of 183.
In CMYK color space (used in color printing), #5a12b7 hex color is composed of 50.82% cyan, 90.16% magenta, 0% yellow and 28.24% black.
#5a12b7 color has a hue of 266.2 degrees, a saturation of 82.09% and a lightness of 39.4%.
#5a12b7 hex color contains mainly BLUE.
The closest web safe color of #5a12b7 is #6600cc
#5a12b7 hex color has a decimal value of 5903031.
HEX | 5a12b7 | #5a12b7 |
---|---|---|
RGB | 90, 18, 183 | rgb(90, 18, 183) |
RGB Percent | 35.29, 7.06, 71.76 | rgb(35.29, 7.06, 71.76) |
CMYK | 51, 90, 0, 28 | |
HSL | 266.2°, 82.09, 39.4 | hsl(266.2, 82.09%, 39.4%) |
HSV | 266.2°, 90.2, 71.8 |
XYZ | 12.98, 6.025, 45.279 |
---|---|
Hunter Lab | 24.546, 51.437, -92.188 |
CIE-LAB | 29.475, 61.468, -70.877 |
CIE-LCH | 29.475, 93.818, 310.933 |
CIE-LUV | 50.82, 90.16, 0, 28.24 |
Web Safe | 6600cc |
RGB percent of color #5a12b7
CMYK percent of color #5a12b7
Text with hexadecimal color #5a12b7
This text has a font color of #5a12b7
<p style="color:#5a12b7">Text here</p>
#5a12b7 Background Color
This box has a background color of #5a12b7
<div style="background-color:#5a12b7">Text here</div>
#5a12b7 Border Color
This box has a border color of #5a12b7
<div style="border: 4px solid #5a12b7">Text here</div>
CSS codes
<p style="color:#5a12b7">Text here</p>
<div style="background-color:#5a12b7">Text here</div>
<div style="border: 4px solid #5a12b7">Text here</div>
#5a12b7 Color on white background
This is how a font and box color of #5a12b7 will look
on a white background.
#5a12b7 Color on black background
This is how a font and box color of #5a12b7 hex color will look
on a black background.