In RGB color space, #5156c1 hex color has a red value of 81, a green value of 86 and a blue value of 193.
In CMYK color space (used in color printing), #5156c1 hex color is composed of 58.03% cyan, 55.44% magenta, 0% yellow and 24.31% black.
#5156c1 color has a hue of 237.3 degrees, a saturation of 47.46% and a lightness of 53.7%.
#5156c1 hex color contains mainly BLUE.
The closest web safe color of #5156c1 is #6666cc
#5156c1 hex color has a decimal value of 5330625.
HEX | 5156c1 | #5156c1 |
---|---|---|
RGB | 81, 86, 193 | rgb(81, 86, 193) |
RGB Percent | 31.76, 33.73, 75.69 | rgb(31.76, 33.73, 75.69) |
CMYK | 58, 55, 0, 24 | |
HSL | 237.3°, 47.46, 53.7 | hsl(237.3, 47.46%, 53.7%) |
HSV | 237.3°, 58, 75.7 |
XYZ | 16.347, 12.255, 51.956 |
---|---|
Hunter Lab | 35.007, 22.09, -63.491 |
CIE-LAB | 41.619, 29.703, -56.944 |
CIE-LCH | 41.619, 64.225, 297.547 |
CIE-LUV | 58.03, 55.44, 0, 24.31 |
Web Safe | 6666cc |
RGB percent of color #5156c1
CMYK percent of color #5156c1
Text with hexadecimal color #5156c1
This text has a font color of #5156c1
<p style="color:#5156c1">Text here</p>
#5156c1 Background Color
This box has a background color of #5156c1
<div style="background-color:#5156c1">Text here</div>
#5156c1 Border Color
This box has a border color of #5156c1
<div style="border: 4px solid #5156c1">Text here</div>
CSS codes
<p style="color:#5156c1">Text here</p>
<div style="background-color:#5156c1">Text here</div>
<div style="border: 4px solid #5156c1">Text here</div>
#5156c1 Color on white background
This is how a font and box color of #5156c1 will look
on a white background.
#5156c1 Color on black background
This is how a font and box color of #5156c1 hex color will look
on a black background.