In RGB color space, #5152d1 hex color has a red value of 81, a green value of 82 and a blue value of 209.
In CMYK color space (used in color printing), #5152d1 hex color is composed of 61.24% cyan, 60.77% magenta, 0% yellow and 18.04% black.
#5152d1 color has a hue of 239.5 degrees, a saturation of 58.18% and a lightness of 56.9%.
#5152d1 hex color contains mainly BLUE.
The closest web safe color of #5152d1 is #6666cc
#5152d1 hex color has a decimal value of 5329617.
HEX | 5152d1 | #5152d1 |
---|---|---|
RGB | 81, 82, 209 | rgb(81, 82, 209) |
RGB Percent | 31.76, 32.16, 81.96 | rgb(31.76, 32.16, 81.96) |
CMYK | 61, 61, 0, 18 | |
HSL | 239.5°, 58.18, 56.9 | hsl(239.5, 58.18%, 56.9%) |
HSV | 239.5°, 61.2, 82 |
XYZ | 17.919, 12.387, 61.768 |
---|---|
Hunter Lab | 35.195, 29.289, -79.418 |
CIE-LAB | 41.825, 37.456, -65.866 |
CIE-LCH | 41.825, 75.771, 299.626 |
CIE-LUV | 61.24, 60.77, 0, 18.04 |
Web Safe | 6666cc |
RGB percent of color #5152d1
CMYK percent of color #5152d1
Text with hexadecimal color #5152d1
This text has a font color of #5152d1
<p style="color:#5152d1">Text here</p>
#5152d1 Background Color
This box has a background color of #5152d1
<div style="background-color:#5152d1">Text here</div>
#5152d1 Border Color
This box has a border color of #5152d1
<div style="border: 4px solid #5152d1">Text here</div>
CSS codes
<p style="color:#5152d1">Text here</p>
<div style="background-color:#5152d1">Text here</div>
<div style="border: 4px solid #5152d1">Text here</div>
#5152d1 Color on white background
This is how a font and box color of #5152d1 will look
on a white background.
#5152d1 Color on black background
This is how a font and box color of #5152d1 hex color will look
on a black background.