In RGB color space, #5157f3 hex color has a red value of 81, a green value of 87 and a blue value of 243.
In CMYK color space (used in color printing), #5157f3 hex color is composed of 66.67% cyan, 64.2% magenta, 0% yellow and 4.71% black.
#5157f3 color has a hue of 237.8 degrees, a saturation of 87.1% and a lightness of 63.5%.
#5157f3 hex color contains mainly BLUE.
The closest web safe color of #5157f3 is #6666ff
#5157f3 hex color has a decimal value of 5330931.
HEX | 5157f3 | #5157f3 |
---|---|---|
RGB | 81, 87, 243 | rgb(81, 87, 243) |
RGB Percent | 31.76, 34.12, 95.29 | rgb(31.76, 34.12, 95.29) |
CMYK | 67, 64, 0, 5 | |
HSL | 237.8°, 87.1, 63.5 | hsl(237.8, 87.1%, 63.5%) |
HSV | 237.8°, 66.7, 95.3 |
XYZ | 22.979, 15.037, 86.485 |
---|---|
Hunter Lab | 38.778, 37.916, -105.089 |
CIE-LAB | 45.685, 45.6, -78.868 |
CIE-LCH | 45.685, 91.102, 300.036 |
CIE-LUV | 66.67, 64.2, 0, 4.71 |
Web Safe | 6666ff |
RGB percent of color #5157f3
CMYK percent of color #5157f3
Text with hexadecimal color #5157f3
This text has a font color of #5157f3
<p style="color:#5157f3">Text here</p>
#5157f3 Background Color
This box has a background color of #5157f3
<div style="background-color:#5157f3">Text here</div>
#5157f3 Border Color
This box has a border color of #5157f3
<div style="border: 4px solid #5157f3">Text here</div>
CSS codes
<p style="color:#5157f3">Text here</p>
<div style="background-color:#5157f3">Text here</div>
<div style="border: 4px solid #5157f3">Text here</div>
#5157f3 Color on white background
This is how a font and box color of #5157f3 will look
on a white background.
#5157f3 Color on black background
This is how a font and box color of #5157f3 hex color will look
on a black background.