In RGB color space, #5156f7 hex color has a red value of 81, a green value of 86 and a blue value of 247.
In CMYK color space (used in color printing), #5156f7 hex color is composed of 67.21% cyan, 65.18% magenta, 0% yellow and 3.14% black.
#5156f7 color has a hue of 238.2 degrees, a saturation of 91.21% and a lightness of 64.3%.
#5156f7 hex color contains mainly BLUE.
The closest web safe color of #5156f7 is #6666ff
#5156f7 hex color has a decimal value of 5330679.
HEX | 5156f7 | #5156f7 |
---|---|---|
RGB | 81, 86, 247 | rgb(81, 86, 247) |
RGB Percent | 31.76, 33.73, 96.86 | rgb(31.76, 33.73, 96.86) |
CMYK | 67, 65, 0, 3 | |
HSL | 238.2°, 91.21, 64.3 | hsl(238.2, 91.21%, 64.3%) |
HSV | 238.2°, 67.2, 96.9 |
XYZ | 23.51, 15.12, 89.675 |
---|---|
Hunter Lab | 38.884, 39.875, -109.515 |
CIE-LAB | 45.798, 47.493, -80.922 |
CIE-LCH | 45.798, 93.829, 300.409 |
CIE-LUV | 67.21, 65.18, 0, 3.14 |
Web Safe | 6666ff |
RGB percent of color #5156f7
CMYK percent of color #5156f7
Text with hexadecimal color #5156f7
This text has a font color of #5156f7
<p style="color:#5156f7">Text here</p>
#5156f7 Background Color
This box has a background color of #5156f7
<div style="background-color:#5156f7">Text here</div>
#5156f7 Border Color
This box has a border color of #5156f7
<div style="border: 4px solid #5156f7">Text here</div>
CSS codes
<p style="color:#5156f7">Text here</p>
<div style="background-color:#5156f7">Text here</div>
<div style="border: 4px solid #5156f7">Text here</div>
#5156f7 Color on white background
This is how a font and box color of #5156f7 will look
on a white background.
#5156f7 Color on black background
This is how a font and box color of #5156f7 hex color will look
on a black background.