In RGB color space, #5e12a2 hex color has a red value of 94, a green value of 18 and a blue value of 162.
In CMYK color space (used in color printing), #5e12a2 hex color is composed of 41.98% cyan, 88.89% magenta, 0% yellow and 36.47% black.
#5e12a2 color has a hue of 271.7 degrees, a saturation of 80% and a lightness of 35.3%.
#5e12a2 hex color contains mainly BLUE.
The closest web safe color of #5e12a2 is #660099
#5e12a2 hex color has a decimal value of 6165154.
HEX | 5e12a2 | #5e12a2 |
---|---|---|
RGB | 94, 18, 162 | rgb(94, 18, 162) |
RGB Percent | 36.86, 7.06, 63.53 | rgb(36.86, 7.06, 63.53) |
CMYK | 42, 89, 0, 36 | |
HSL | 271.7°, 80, 35.3 | hsl(271.7, 80%, 35.3%) |
HSV | 271.7°, 88.9, 63.5 |
XYZ | 11.354, 5.421, 34.63 |
---|---|
Hunter Lab | 23.283, 46.3, -71.887 |
CIE-LAB | 27.902, 57.016, -60.826 |
CIE-LCH | 27.902, 83.37, 313.148 |
CIE-LUV | 41.98, 88.89, 0, 36.47 |
Web Safe | 660099 |
RGB percent of color #5e12a2
CMYK percent of color #5e12a2
Text with hexadecimal color #5e12a2
This text has a font color of #5e12a2
<p style="color:#5e12a2">Text here</p>
#5e12a2 Background Color
This box has a background color of #5e12a2
<div style="background-color:#5e12a2">Text here</div>
#5e12a2 Border Color
This box has a border color of #5e12a2
<div style="border: 4px solid #5e12a2">Text here</div>
CSS codes
<p style="color:#5e12a2">Text here</p>
<div style="background-color:#5e12a2">Text here</div>
<div style="border: 4px solid #5e12a2">Text here</div>
#5e12a2 Color on white background
This is how a font and box color of #5e12a2 will look
on a white background.
#5e12a2 Color on black background
This is how a font and box color of #5e12a2 hex color will look
on a black background.