In RGB color space, #5156eb hex color has a red value of 81, a green value of 86 and a blue value of 235.
In CMYK color space (used in color printing), #5156eb hex color is composed of 65.53% cyan, 63.4% magenta, 0% yellow and 7.84% black.
#5156eb color has a hue of 238.1 degrees, a saturation of 79.38% and a lightness of 62%.
#5156eb hex color contains mainly BLUE.
The closest web safe color of #5156eb is #6666ff
#5156eb hex color has a decimal value of 5330667.
HEX | 5156eb | #5156eb |
---|---|---|
RGB | 81, 86, 235 | rgb(81, 86, 235) |
RGB Percent | 31.76, 33.73, 92.16 | rgb(31.76, 33.73, 92.16) |
CMYK | 66, 63, 0, 8 | |
HSL | 238.1°, 79.38, 62 | hsl(238.1, 79.38%, 62%) |
HSV | 238.1°, 65.5, 92.2 |
XYZ | 21.717, 14.403, 80.233 |
---|---|
Hunter Lab | 37.951, 35.729, -98.779 |
CIE-LAB | 44.805, 43.581, -75.809 |
CIE-LCH | 44.805, 87.443, 299.894 |
CIE-LUV | 65.53, 63.4, 0, 7.84 |
Web Safe | 6666ff |
RGB percent of color #5156eb
CMYK percent of color #5156eb
Text with hexadecimal color #5156eb
This text has a font color of #5156eb
<p style="color:#5156eb">Text here</p>
#5156eb Background Color
This box has a background color of #5156eb
<div style="background-color:#5156eb">Text here</div>
#5156eb Border Color
This box has a border color of #5156eb
<div style="border: 4px solid #5156eb">Text here</div>
CSS codes
<p style="color:#5156eb">Text here</p>
<div style="background-color:#5156eb">Text here</div>
<div style="border: 4px solid #5156eb">Text here</div>
#5156eb Color on white background
This is how a font and box color of #5156eb will look
on a white background.
#5156eb Color on black background
This is how a font and box color of #5156eb hex color will look
on a black background.