In RGB color space, #5121a6 hex color has a red value of 81, a green value of 33 and a blue value of 166.
In CMYK color space (used in color printing), #5121a6 hex color is composed of 51.2% cyan, 80.12% magenta, 0% yellow and 34.9% black.
#5121a6 color has a hue of 261.7 degrees, a saturation of 66.83% and a lightness of 39%.
#5121a6 hex color contains mainly BLUE.
The closest web safe color of #5121a6 is #663399
#5121a6 hex color has a decimal value of 5317030.
HEX | 5121a6 | #5121a6 |
---|---|---|
RGB | 81, 33, 166 | rgb(81, 33, 166) |
RGB Percent | 31.76, 12.94, 65.1 | rgb(31.76, 12.94, 65.1) |
CMYK | 51, 80, 0, 35 | |
HSL | 261.7°, 66.83, 39 | hsl(261.7, 66.83%, 39%) |
HSV | 261.7°, 80.1, 65.1 |
XYZ | 10.82, 5.59, 36.585 |
---|---|
Hunter Lab | 23.643, 40.313, -75.194 |
CIE-LAB | 28.354, 51.147, -62.57 |
CIE-LCH | 28.354, 80.815, 309.264 |
CIE-LUV | 51.2, 80.12, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #5121a6
CMYK percent of color #5121a6
Text with hexadecimal color #5121a6
This text has a font color of #5121a6
<p style="color:#5121a6">Text here</p>
#5121a6 Background Color
This box has a background color of #5121a6
<div style="background-color:#5121a6">Text here</div>
#5121a6 Border Color
This box has a border color of #5121a6
<div style="border: 4px solid #5121a6">Text here</div>
CSS codes
<p style="color:#5121a6">Text here</p>
<div style="background-color:#5121a6">Text here</div>
<div style="border: 4px solid #5121a6">Text here</div>
#5121a6 Color on white background
This is how a font and box color of #5121a6 will look
on a white background.
#5121a6 Color on black background
This is how a font and box color of #5121a6 hex color will look
on a black background.