In RGB color space, #5156c4 hex color has a red value of 81, a green value of 86 and a blue value of 196.
In CMYK color space (used in color printing), #5156c4 hex color is composed of 58.67% cyan, 56.12% magenta, 0% yellow and 23.14% black.
#5156c4 color has a hue of 237.4 degrees, a saturation of 49.36% and a lightness of 54.3%.
#5156c4 hex color contains mainly BLUE.
The closest web safe color of #5156c4 is #6666cc
#5156c4 hex color has a decimal value of 5330628.
HEX | 5156c4 | #5156c4 |
---|---|---|
RGB | 81, 86, 196 | rgb(81, 86, 196) |
RGB Percent | 31.76, 33.73, 76.86 | rgb(31.76, 33.73, 76.86) |
CMYK | 59, 56, 0, 23 | |
HSL | 237.4°, 49.36, 54.3 | hsl(237.4, 49.36%, 54.3%) |
HSV | 237.4°, 58.7, 76.9 |
XYZ | 16.685, 12.39, 53.737 |
---|---|
Hunter Lab | 35.199, 23.012, -65.875 |
CIE-LAB | 41.829, 30.698, -58.347 |
CIE-LCH | 41.829, 65.93, 297.75 |
CIE-LUV | 58.67, 56.12, 0, 23.14 |
Web Safe | 6666cc |
RGB percent of color #5156c4
CMYK percent of color #5156c4
Text with hexadecimal color #5156c4
This text has a font color of #5156c4
<p style="color:#5156c4">Text here</p>
#5156c4 Background Color
This box has a background color of #5156c4
<div style="background-color:#5156c4">Text here</div>
#5156c4 Border Color
This box has a border color of #5156c4
<div style="border: 4px solid #5156c4">Text here</div>
CSS codes
<p style="color:#5156c4">Text here</p>
<div style="background-color:#5156c4">Text here</div>
<div style="border: 4px solid #5156c4">Text here</div>
#5156c4 Color on white background
This is how a font and box color of #5156c4 will look
on a white background.
#5156c4 Color on black background
This is how a font and box color of #5156c4 hex color will look
on a black background.