In RGB color space, #5212a4 hex color has a red value of 82, a green value of 18 and a blue value of 164.
In CMYK color space (used in color printing), #5212a4 hex color is composed of 50% cyan, 89.02% magenta, 0% yellow and 35.69% black.
#5212a4 color has a hue of 266.3 degrees, a saturation of 80.22% and a lightness of 35.7%.
#5212a4 hex color contains mainly BLUE.
The closest web safe color of #5212a4 is #660099
#5212a4 hex color has a decimal value of 5378724.
HEX | 5212a4 | #5212a4 |
---|---|---|
RGB | 82, 18, 164 | rgb(82, 18, 164) |
RGB Percent | 32.16, 7.06, 64.31 | rgb(32.16, 7.06, 64.31) |
CMYK | 50, 89, 0, 36 | |
HSL | 266.3°, 80.22, 35.7 | hsl(266.3, 80.22%, 35.7%) |
HSV | 266.3°, 89, 64.3 |
XYZ | 10.397, 4.907, 35.521 |
---|---|
Hunter Lab | 22.152, 45.014, -79.567 |
CIE-LAB | 26.468, 56.073, -64.459 |
CIE-LCH | 26.468, 85.435, 311.02 |
CIE-LUV | 50, 89.02, 0, 35.69 |
Web Safe | 660099 |
RGB percent of color #5212a4
CMYK percent of color #5212a4
Text with hexadecimal color #5212a4
This text has a font color of #5212a4
<p style="color:#5212a4">Text here</p>
#5212a4 Background Color
This box has a background color of #5212a4
<div style="background-color:#5212a4">Text here</div>
#5212a4 Border Color
This box has a border color of #5212a4
<div style="border: 4px solid #5212a4">Text here</div>
CSS codes
<p style="color:#5212a4">Text here</p>
<div style="background-color:#5212a4">Text here</div>
<div style="border: 4px solid #5212a4">Text here</div>
#5212a4 Color on white background
This is how a font and box color of #5212a4 will look
on a white background.
#5212a4 Color on black background
This is how a font and box color of #5212a4 hex color will look
on a black background.