In RGB color space, #5156d4 hex color has a red value of 81, a green value of 86 and a blue value of 212.
In CMYK color space (used in color printing), #5156d4 hex color is composed of 61.79% cyan, 59.43% magenta, 0% yellow and 16.86% black.
#5156d4 color has a hue of 237.7 degrees, a saturation of 60.37% and a lightness of 57.5%.
#5156d4 hex color contains mainly BLUE.
The closest web safe color of #5156d4 is #6666cc
#5156d4 hex color has a decimal value of 5330644.
HEX | 5156d4 | #5156d4 |
---|---|---|
RGB | 81, 86, 212 | rgb(81, 86, 212) |
RGB Percent | 31.76, 33.73, 83.14 | rgb(31.76, 33.73, 83.14) |
CMYK | 62, 59, 0, 17 | |
HSL | 237.7°, 60.37, 57.5 | hsl(237.7, 60.37%, 57.5%) |
HSV | 237.7°, 61.8, 83.1 |
XYZ | 18.605, 13.158, 63.847 |
---|---|
Hunter Lab | 36.274, 28.074, -78.967 |
CIE-LAB | 43, 36.002, -65.676 |
CIE-LCH | 43, 74.896, 298.73 |
CIE-LUV | 61.79, 59.43, 0, 16.86 |
Web Safe | 6666cc |
RGB percent of color #5156d4
CMYK percent of color #5156d4
Text with hexadecimal color #5156d4
This text has a font color of #5156d4
<p style="color:#5156d4">Text here</p>
#5156d4 Background Color
This box has a background color of #5156d4
<div style="background-color:#5156d4">Text here</div>
#5156d4 Border Color
This box has a border color of #5156d4
<div style="border: 4px solid #5156d4">Text here</div>
CSS codes
<p style="color:#5156d4">Text here</p>
<div style="background-color:#5156d4">Text here</div>
<div style="border: 4px solid #5156d4">Text here</div>
#5156d4 Color on white background
This is how a font and box color of #5156d4 will look
on a white background.
#5156d4 Color on black background
This is how a font and box color of #5156d4 hex color will look
on a black background.