In RGB color space, #5157f5 hex color has a red value of 81, a green value of 87 and a blue value of 245.
In CMYK color space (used in color printing), #5157f5 hex color is composed of 66.94% cyan, 64.49% magenta, 0% yellow and 3.92% black.
#5157f5 color has a hue of 237.8 degrees, a saturation of 89.13% and a lightness of 63.9%.
#5157f5 hex color contains mainly BLUE.
The closest web safe color of #5157f5 is #6666ff
#5157f5 hex color has a decimal value of 5330933.
HEX | 5157f5 | #5157f5 |
---|---|---|
RGB | 81, 87, 245 | rgb(81, 87, 245) |
RGB Percent | 31.76, 34.12, 96.08 | rgb(31.76, 34.12, 96.08) |
CMYK | 67, 64, 0, 4 | |
HSL | 237.8°, 89.13, 63.9 | hsl(237.8, 89.13%, 63.9%) |
HSV | 237.8°, 66.9, 96.1 |
XYZ | 23.283, 15.158, 88.085 |
---|---|
Hunter Lab | 38.933, 38.614, -106.888 |
CIE-LAB | 45.85, 46.256, -79.719 |
CIE-LCH | 45.85, 92.167, 300.124 |
CIE-LUV | 66.94, 64.49, 0, 3.92 |
Web Safe | 6666ff |
RGB percent of color #5157f5
CMYK percent of color #5157f5
Text with hexadecimal color #5157f5
This text has a font color of #5157f5
<p style="color:#5157f5">Text here</p>
#5157f5 Background Color
This box has a background color of #5157f5
<div style="background-color:#5157f5">Text here</div>
#5157f5 Border Color
This box has a border color of #5157f5
<div style="border: 4px solid #5157f5">Text here</div>
CSS codes
<p style="color:#5157f5">Text here</p>
<div style="background-color:#5157f5">Text here</div>
<div style="border: 4px solid #5157f5">Text here</div>
#5157f5 Color on white background
This is how a font and box color of #5157f5 will look
on a white background.
#5157f5 Color on black background
This is how a font and box color of #5157f5 hex color will look
on a black background.