In RGB color space, #5157ff hex color has a red value of 81, a green value of 87 and a blue value of 255.
In CMYK color space (used in color printing), #5157ff hex color is composed of 68.24% cyan, 65.88% magenta, 0% yellow and 0% black.
#5157ff color has a hue of 237.9 degrees, a saturation of 100% and a lightness of 65.9%.
#5157ff hex color contains mainly BLUE.
The closest web safe color of #5157ff is #6666ff
#5157ff hex color has a decimal value of 5330943.
HEX | 5157ff | #5157ff |
---|---|---|
RGB | 81, 87, 255 | rgb(81, 87, 255) |
RGB Percent | 31.76, 34.12, 100 | rgb(31.76, 34.12, 100) |
CMYK | 68, 66, 0, 0 | |
HSL | 237.9°, 100, 65.9 | hsl(237.9, 100%, 65.9%) |
HSV | 237.9°, 68.2, 100 |
XYZ | 24.852, 15.786, 96.345 |
---|---|
Hunter Lab | 39.732, 42.121, -115.96 |
CIE-LAB | 46.692, 49.5, -83.918 |
CIE-LCH | 46.692, 97.429, 300.535 |
CIE-LUV | 68.24, 65.88, 0, 0 |
Web Safe | 6666ff |
RGB percent of color #5157ff
CMYK percent of color #5157ff
Text with hexadecimal color #5157ff
This text has a font color of #5157ff
<p style="color:#5157ff">Text here</p>
#5157ff Background Color
This box has a background color of #5157ff
<div style="background-color:#5157ff">Text here</div>
#5157ff Border Color
This box has a border color of #5157ff
<div style="border: 4px solid #5157ff">Text here</div>
CSS codes
<p style="color:#5157ff">Text here</p>
<div style="background-color:#5157ff">Text here</div>
<div style="border: 4px solid #5157ff">Text here</div>
#5157ff Color on white background
This is how a font and box color of #5157ff will look
on a white background.
#5157ff Color on black background
This is how a font and box color of #5157ff hex color will look
on a black background.