In RGB color space, #5157d4 hex color has a red value of 81, a green value of 87 and a blue value of 212.
In CMYK color space (used in color printing), #5157d4 hex color is composed of 61.79% cyan, 58.96% magenta, 0% yellow and 16.86% black.
#5157d4 color has a hue of 237.3 degrees, a saturation of 60.37% and a lightness of 57.5%.
#5157d4 hex color contains mainly BLUE.
The closest web safe color of #5157d4 is #6666cc
#5157d4 hex color has a decimal value of 5330900.
HEX | 5157d4 | #5157d4 |
---|---|---|
RGB | 81, 87, 212 | rgb(81, 87, 212) |
RGB Percent | 31.76, 34.12, 83.14 | rgb(31.76, 34.12, 83.14) |
CMYK | 62, 59, 0, 17 | |
HSL | 237.3°, 60.37, 57.5 | hsl(237.3, 60.37%, 57.5%) |
HSV | 237.3°, 61.8, 83.1 |
XYZ | 18.685, 13.319, 63.873 |
---|---|
Hunter Lab | 36.495, 27.523, -78.221 |
CIE-LAB | 43.24, 35.384, -65.285 |
CIE-LCH | 43.24, 74.257, 298.457 |
CIE-LUV | 61.79, 58.96, 0, 16.86 |
Web Safe | 6666cc |
RGB percent of color #5157d4
CMYK percent of color #5157d4
Text with hexadecimal color #5157d4
This text has a font color of #5157d4
<p style="color:#5157d4">Text here</p>
#5157d4 Background Color
This box has a background color of #5157d4
<div style="background-color:#5157d4">Text here</div>
#5157d4 Border Color
This box has a border color of #5157d4
<div style="border: 4px solid #5157d4">Text here</div>
CSS codes
<p style="color:#5157d4">Text here</p>
<div style="background-color:#5157d4">Text here</div>
<div style="border: 4px solid #5157d4">Text here</div>
#5157d4 Color on white background
This is how a font and box color of #5157d4 will look
on a white background.
#5157d4 Color on black background
This is how a font and box color of #5157d4 hex color will look
on a black background.