In RGB color space, #5a12b4 hex color has a red value of 90, a green value of 18 and a blue value of 180.
In CMYK color space (used in color printing), #5a12b4 hex color is composed of 50% cyan, 90% magenta, 0% yellow and 29.41% black.
#5a12b4 color has a hue of 266.7 degrees, a saturation of 81.82% and a lightness of 38.8%.
#5a12b4 hex color contains mainly BLUE.
The closest web safe color of #5a12b4 is #6600cc
#5a12b4 hex color has a decimal value of 5903028.
HEX | 5a12b4 | #5a12b4 |
---|---|---|
RGB | 90, 18, 180 | rgb(90, 18, 180) |
RGB Percent | 35.29, 7.06, 70.59 | rgb(35.29, 7.06, 70.59) |
CMYK | 50, 90, 0, 29 | |
HSL | 266.7°, 81.82, 38.8 | hsl(266.7, 81.82%, 38.8%) |
HSV | 266.7°, 90, 70.6 |
XYZ | 12.671, 5.902, 43.651 |
---|---|
Hunter Lab | 24.294, 50.585, -89.525 |
CIE-LAB | 29.164, 60.752, -69.603 |
CIE-LCH | 29.164, 92.387, 311.116 |
CIE-LUV | 50, 90, 0, 29.41 |
Web Safe | 6600cc |
RGB percent of color #5a12b4
CMYK percent of color #5a12b4
Text with hexadecimal color #5a12b4
This text has a font color of #5a12b4
<p style="color:#5a12b4">Text here</p>
#5a12b4 Background Color
This box has a background color of #5a12b4
<div style="background-color:#5a12b4">Text here</div>
#5a12b4 Border Color
This box has a border color of #5a12b4
<div style="border: 4px solid #5a12b4">Text here</div>
CSS codes
<p style="color:#5a12b4">Text here</p>
<div style="background-color:#5a12b4">Text here</div>
<div style="border: 4px solid #5a12b4">Text here</div>
#5a12b4 Color on white background
This is how a font and box color of #5a12b4 will look
on a white background.
#5a12b4 Color on black background
This is how a font and box color of #5a12b4 hex color will look
on a black background.