In RGB color space, #5158e0 hex color has a red value of 81, a green value of 88 and a blue value of 224.
In CMYK color space (used in color printing), #5158e0 hex color is composed of 63.84% cyan, 60.71% magenta, 0% yellow and 12.16% black.
#5158e0 color has a hue of 237.1 degrees, a saturation of 69.76% and a lightness of 59.8%.
#5158e0 hex color contains mainly BLUE.
The closest web safe color of #5158e0 is #6666cc
#5158e0 hex color has a decimal value of 5331168.
HEX | 5158e0 | #5158e0 |
---|---|---|
RGB | 81, 88, 224 | rgb(81, 88, 224) |
RGB Percent | 31.76, 34.51, 87.84 | rgb(31.76, 34.51, 87.84) |
CMYK | 64, 61, 0, 12 | |
HSL | 237.1°, 69.76, 59.8 | hsl(237.1, 69.76%, 59.8%) |
HSV | 237.1°, 63.8, 87.8 |
XYZ | 20.338, 14.111, 72.173 |
---|---|
Hunter Lab | 37.565, 30.904, -87.619 |
CIE-LAB | 44.392, 38.752, -70.258 |
CIE-LCH | 44.392, 80.237, 298.88 |
CIE-LUV | 63.84, 60.71, 0, 12.16 |
Web Safe | 6666cc |
RGB percent of color #5158e0
CMYK percent of color #5158e0
Text with hexadecimal color #5158e0
This text has a font color of #5158e0
<p style="color:#5158e0">Text here</p>
#5158e0 Background Color
This box has a background color of #5158e0
<div style="background-color:#5158e0">Text here</div>
#5158e0 Border Color
This box has a border color of #5158e0
<div style="border: 4px solid #5158e0">Text here</div>
CSS codes
<p style="color:#5158e0">Text here</p>
<div style="background-color:#5158e0">Text here</div>
<div style="border: 4px solid #5158e0">Text here</div>
#5158e0 Color on white background
This is how a font and box color of #5158e0 will look
on a white background.
#5158e0 Color on black background
This is how a font and box color of #5158e0 hex color will look
on a black background.