In RGB color space, #5156f6 hex color has a red value of 81, a green value of 86 and a blue value of 246.
In CMYK color space (used in color printing), #5156f6 hex color is composed of 67.07% cyan, 65.04% magenta, 0% yellow and 3.53% black.
#5156f6 color has a hue of 238.2 degrees, a saturation of 90.16% and a lightness of 64.1%.
#5156f6 hex color contains mainly BLUE.
The closest web safe color of #5156f6 is #6666ff
#5156f6 hex color has a decimal value of 5330678.
HEX | 5156f6 | #5156f6 |
---|---|---|
RGB | 81, 86, 246 | rgb(81, 86, 246) |
RGB Percent | 31.76, 33.73, 96.47 | rgb(31.76, 33.73, 96.47) |
CMYK | 67, 65, 0, 4 | |
HSL | 238.2°, 90.16, 64.1 | hsl(238.2, 90.16%, 64.1%) |
HSV | 238.2°, 67.1, 96.5 |
XYZ | 23.356, 15.059, 88.864 |
---|---|
Hunter Lab | 38.806, 39.523, -108.608 |
CIE-LAB | 45.715, 47.165, -80.499 |
CIE-LCH | 45.715, 93.299, 300.366 |
CIE-LUV | 67.07, 65.04, 0, 3.53 |
Web Safe | 6666ff |
RGB percent of color #5156f6
CMYK percent of color #5156f6
Text with hexadecimal color #5156f6
This text has a font color of #5156f6
<p style="color:#5156f6">Text here</p>
#5156f6 Background Color
This box has a background color of #5156f6
<div style="background-color:#5156f6">Text here</div>
#5156f6 Border Color
This box has a border color of #5156f6
<div style="border: 4px solid #5156f6">Text here</div>
CSS codes
<p style="color:#5156f6">Text here</p>
<div style="background-color:#5156f6">Text here</div>
<div style="border: 4px solid #5156f6">Text here</div>
#5156f6 Color on white background
This is how a font and box color of #5156f6 will look
on a white background.
#5156f6 Color on black background
This is how a font and box color of #5156f6 hex color will look
on a black background.