In RGB color space, #5212a6 hex color has a red value of 82, a green value of 18 and a blue value of 166.
In CMYK color space (used in color printing), #5212a6 hex color is composed of 50.6% cyan, 89.16% magenta, 0% yellow and 34.9% black.
#5212a6 color has a hue of 265.9 degrees, a saturation of 80.43% and a lightness of 36.1%.
#5212a6 hex color contains mainly BLUE.
The closest web safe color of #5212a6 is #660099
#5212a6 hex color has a decimal value of 5378726.
HEX | 5212a6 | #5212a6 |
---|---|---|
RGB | 82, 18, 166 | rgb(82, 18, 166) |
RGB Percent | 32.16, 7.06, 65.1 | rgb(32.16, 7.06, 65.1) |
CMYK | 51, 89, 0, 35 | |
HSL | 265.9°, 80.43, 36.1 | hsl(265.9, 80.43%, 36.1%) |
HSV | 265.9°, 89.2, 65.1 |
XYZ | 10.579, 4.98, 36.48 |
---|---|
Hunter Lab | 22.316, 45.566, -81.301 |
CIE-LAB | 26.678, 56.557, -65.326 |
CIE-LCH | 26.678, 86.407, 310.885 |
CIE-LUV | 50.6, 89.16, 0, 34.9 |
Web Safe | 660099 |
RGB percent of color #5212a6
CMYK percent of color #5212a6
Text with hexadecimal color #5212a6
This text has a font color of #5212a6
<p style="color:#5212a6">Text here</p>
#5212a6 Background Color
This box has a background color of #5212a6
<div style="background-color:#5212a6">Text here</div>
#5212a6 Border Color
This box has a border color of #5212a6
<div style="border: 4px solid #5212a6">Text here</div>
CSS codes
<p style="color:#5212a6">Text here</p>
<div style="background-color:#5212a6">Text here</div>
<div style="border: 4px solid #5212a6">Text here</div>
#5212a6 Color on white background
This is how a font and box color of #5212a6 will look
on a white background.
#5212a6 Color on black background
This is how a font and box color of #5212a6 hex color will look
on a black background.