In RGB color space, #5212a3 hex color has a red value of 82, a green value of 18 and a blue value of 163.
In CMYK color space (used in color printing), #5212a3 hex color is composed of 49.69% cyan, 88.96% magenta, 0% yellow and 36.08% black.
#5212a3 color has a hue of 266.5 degrees, a saturation of 80.11% and a lightness of 35.5%.
#5212a3 hex color contains mainly BLUE.
The closest web safe color of #5212a3 is #660099
#5212a3 hex color has a decimal value of 5378723.
HEX | 5212a3 | #5212a3 |
---|---|---|
RGB | 82, 18, 163 | rgb(82, 18, 163) |
RGB Percent | 32.16, 7.06, 63.92 | rgb(32.16, 7.06, 63.92) |
CMYK | 50, 89, 0, 36 | |
HSL | 266.5°, 80.11, 35.5 | hsl(266.5, 80.11%, 35.5%) |
HSV | 266.5°, 89, 63.9 |
XYZ | 10.307, 4.871, 35.047 |
---|---|
Hunter Lab | 22.07, 44.738, -78.701 |
CIE-LAB | 26.364, 55.83, -64.024 |
CIE-LCH | 26.364, 84.947, 311.089 |
CIE-LUV | 49.69, 88.96, 0, 36.08 |
Web Safe | 660099 |
RGB percent of color #5212a3
CMYK percent of color #5212a3
Text with hexadecimal color #5212a3
This text has a font color of #5212a3
<p style="color:#5212a3">Text here</p>
#5212a3 Background Color
This box has a background color of #5212a3
<div style="background-color:#5212a3">Text here</div>
#5212a3 Border Color
This box has a border color of #5212a3
<div style="border: 4px solid #5212a3">Text here</div>
CSS codes
<p style="color:#5212a3">Text here</p>
<div style="background-color:#5212a3">Text here</div>
<div style="border: 4px solid #5212a3">Text here</div>
#5212a3 Color on white background
This is how a font and box color of #5212a3 will look
on a white background.
#5212a3 Color on black background
This is how a font and box color of #5212a3 hex color will look
on a black background.