In RGB color space, #5158d6 hex color has a red value of 81, a green value of 88 and a blue value of 214.
In CMYK color space (used in color printing), #5158d6 hex color is composed of 62.15% cyan, 58.88% magenta, 0% yellow and 16.08% black.
#5158d6 color has a hue of 236.8 degrees, a saturation of 61.86% and a lightness of 57.8%.
#5158d6 hex color contains mainly BLUE.
The closest web safe color of #5158d6 is #6666cc
#5158d6 hex color has a decimal value of 5331158.
HEX | 5158d6 | #5158d6 |
---|---|---|
RGB | 81, 88, 214 | rgb(81, 88, 214) |
RGB Percent | 31.76, 34.51, 83.92 | rgb(31.76, 34.51, 83.92) |
CMYK | 62, 59, 0, 16 | |
HSL | 236.8°, 61.86, 57.8 | hsl(236.8, 61.86%, 57.8%) |
HSV | 236.8°, 62.1, 83.9 |
XYZ | 19.021, 13.584, 65.238 |
---|---|
Hunter Lab | 36.856, 27.622, -79.147 |
CIE-LAB | 43.63, 35.434, -65.797 |
CIE-LCH | 43.63, 74.732, 298.304 |
CIE-LUV | 62.15, 58.88, 0, 16.08 |
Web Safe | 6666cc |
RGB percent of color #5158d6
CMYK percent of color #5158d6
Text with hexadecimal color #5158d6
This text has a font color of #5158d6
<p style="color:#5158d6">Text here</p>
#5158d6 Background Color
This box has a background color of #5158d6
<div style="background-color:#5158d6">Text here</div>
#5158d6 Border Color
This box has a border color of #5158d6
<div style="border: 4px solid #5158d6">Text here</div>
CSS codes
<p style="color:#5158d6">Text here</p>
<div style="background-color:#5158d6">Text here</div>
<div style="border: 4px solid #5158d6">Text here</div>
#5158d6 Color on white background
This is how a font and box color of #5158d6 will look
on a white background.
#5158d6 Color on black background
This is how a font and box color of #5158d6 hex color will look
on a black background.