In RGB color space, #5156ff hex color has a red value of 81, a green value of 86 and a blue value of 255.
In CMYK color space (used in color printing), #5156ff hex color is composed of 68.24% cyan, 66.27% magenta, 0% yellow and 0% black.
#5156ff color has a hue of 238.3 degrees, a saturation of 100% and a lightness of 65.9%.
#5156ff hex color contains mainly BLUE.
The closest web safe color of #5156ff is #6666ff
#5156ff hex color has a decimal value of 5330687.
HEX | 5156ff | #5156ff |
---|---|---|
RGB | 81, 86, 255 | rgb(81, 86, 255) |
RGB Percent | 31.76, 33.73, 100 | rgb(31.76, 33.73, 100) |
CMYK | 68, 66, 0, 0 | |
HSL | 238.3°, 100, 65.9 | hsl(238.3, 100%, 65.9%) |
HSV | 238.3°, 68.2, 100 |
XYZ | 24.771, 15.625, 96.318 |
---|---|
Hunter Lab | 39.528, 42.684, -116.8 |
CIE-LAB | 46.479, 50.074, -84.268 |
CIE-LCH | 46.479, 98.023, 300.72 |
CIE-LUV | 68.24, 66.27, 0, 0 |
Web Safe | 6666ff |
RGB percent of color #5156ff
CMYK percent of color #5156ff
Text with hexadecimal color #5156ff
This text has a font color of #5156ff
<p style="color:#5156ff">Text here</p>
#5156ff Background Color
This box has a background color of #5156ff
<div style="background-color:#5156ff">Text here</div>
#5156ff Border Color
This box has a border color of #5156ff
<div style="border: 4px solid #5156ff">Text here</div>
CSS codes
<p style="color:#5156ff">Text here</p>
<div style="background-color:#5156ff">Text here</div>
<div style="border: 4px solid #5156ff">Text here</div>
#5156ff Color on white background
This is how a font and box color of #5156ff will look
on a white background.
#5156ff Color on black background
This is how a font and box color of #5156ff hex color will look
on a black background.