In RGB color space, #5120a6 hex color has a red value of 81, a green value of 32 and a blue value of 166.
In CMYK color space (used in color printing), #5120a6 hex color is composed of 51.2% cyan, 80.72% magenta, 0% yellow and 34.9% black.
#5120a6 color has a hue of 261.9 degrees, a saturation of 67.68% and a lightness of 38.8%.
#5120a6 hex color contains mainly BLUE.
The closest web safe color of #5120a6 is #663399
#5120a6 hex color has a decimal value of 5316774.
HEX | 5120a6 | #5120a6 |
---|---|---|
RGB | 81, 32, 166 | rgb(81, 32, 166) |
RGB Percent | 31.76, 12.55, 65.1 | rgb(31.76, 12.55, 65.1) |
CMYK | 51, 81, 0, 35 | |
HSL | 261.9°, 67.68, 38.8 | hsl(261.9, 67.68%, 38.8%) |
HSV | 261.9°, 80.7, 65.1 |
XYZ | 10.793, 5.536, 36.576 |
---|---|
Hunter Lab | 23.529, 40.706, -75.698 |
CIE-LAB | 28.21, 51.562, -62.805 |
CIE-LCH | 28.21, 81.26, 309.386 |
CIE-LUV | 51.2, 80.72, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #5120a6
CMYK percent of color #5120a6
Text with hexadecimal color #5120a6
This text has a font color of #5120a6
<p style="color:#5120a6">Text here</p>
#5120a6 Background Color
This box has a background color of #5120a6
<div style="background-color:#5120a6">Text here</div>
#5120a6 Border Color
This box has a border color of #5120a6
<div style="border: 4px solid #5120a6">Text here</div>
CSS codes
<p style="color:#5120a6">Text here</p>
<div style="background-color:#5120a6">Text here</div>
<div style="border: 4px solid #5120a6">Text here</div>
#5120a6 Color on white background
This is how a font and box color of #5120a6 will look
on a white background.
#5120a6 Color on black background
This is how a font and box color of #5120a6 hex color will look
on a black background.