In RGB color space, #5152b2 hex color has a red value of 81, a green value of 82 and a blue value of 178.
In CMYK color space (used in color printing), #5152b2 hex color is composed of 54.49% cyan, 53.93% magenta, 0% yellow and 30.2% black.
#5152b2 color has a hue of 239.4 degrees, a saturation of 38.65% and a lightness of 50.8%.
#5152b2 hex color contains mainly BLUE.
The closest web safe color of #5152b2 is #666699
#5152b2 hex color has a decimal value of 5329586.
HEX | 5152b2 | #5152b2 |
---|---|---|
RGB | 81, 82, 178 | rgb(81, 82, 178) |
RGB Percent | 31.76, 32.16, 69.8 | rgb(31.76, 32.16, 69.8) |
CMYK | 54, 54, 0, 30 | |
HSL | 239.4°, 38.65, 50.8 | hsl(239.4, 38.65%, 50.8%) |
HSV | 239.4°, 54.5, 69.8 |
XYZ | 14.447, 10.998, 43.481 |
---|---|
Hunter Lab | 33.163, 19.725, -54.522 |
CIE-LAB | 39.577, 27.283, -51.457 |
CIE-LCH | 39.577, 58.242, 297.933 |
CIE-LUV | 54.49, 53.93, 0, 30.2 |
Web Safe | 666699 |
RGB percent of color #5152b2
CMYK percent of color #5152b2
Text with hexadecimal color #5152b2
This text has a font color of #5152b2
<p style="color:#5152b2">Text here</p>
#5152b2 Background Color
This box has a background color of #5152b2
<div style="background-color:#5152b2">Text here</div>
#5152b2 Border Color
This box has a border color of #5152b2
<div style="border: 4px solid #5152b2">Text here</div>
CSS codes
<p style="color:#5152b2">Text here</p>
<div style="background-color:#5152b2">Text here</div>
<div style="border: 4px solid #5152b2">Text here</div>
#5152b2 Color on white background
This is how a font and box color of #5152b2 will look
on a white background.
#5152b2 Color on black background
This is how a font and box color of #5152b2 hex color will look
on a black background.