In RGB color space, #5158fe hex color has a red value of 81, a green value of 88 and a blue value of 254.
In CMYK color space (used in color printing), #5158fe hex color is composed of 68.11% cyan, 65.35% magenta, 0% yellow and 0.39% black.
#5158fe color has a hue of 237.6 degrees, a saturation of 98.86% and a lightness of 65.7%.
#5158fe hex color contains mainly BLUE.
The closest web safe color of #5158fe is #6666ff
#5158fe hex color has a decimal value of 5331198.
HEX | 5158fe | #5158fe |
---|---|---|
RGB | 81, 88, 254 | rgb(81, 88, 254) |
RGB Percent | 31.76, 34.51, 99.61 | rgb(31.76, 34.51, 99.61) |
CMYK | 68, 65, 0, 0 | |
HSL | 237.6°, 98.86, 65.7 | hsl(237.6, 98.86%, 65.7%) |
HSV | 237.6°, 68.1, 99.6 |
XYZ | 24.772, 15.885, 95.526 |
---|---|
Hunter Lab | 39.856, 41.196, -114.206 |
CIE-LAB | 46.823, 48.592, -83.147 |
CIE-LCH | 46.823, 96.305, 300.302 |
CIE-LUV | 68.11, 65.35, 0, 0.39 |
Web Safe | 6666ff |
RGB percent of color #5158fe
CMYK percent of color #5158fe
Text with hexadecimal color #5158fe
This text has a font color of #5158fe
<p style="color:#5158fe">Text here</p>
#5158fe Background Color
This box has a background color of #5158fe
<div style="background-color:#5158fe">Text here</div>
#5158fe Border Color
This box has a border color of #5158fe
<div style="border: 4px solid #5158fe">Text here</div>
CSS codes
<p style="color:#5158fe">Text here</p>
<div style="background-color:#5158fe">Text here</div>
<div style="border: 4px solid #5158fe">Text here</div>
#5158fe Color on white background
This is how a font and box color of #5158fe will look
on a white background.
#5158fe Color on black background
This is how a font and box color of #5158fe hex color will look
on a black background.