In RGB color space, #5156cd hex color has a red value of 81, a green value of 86 and a blue value of 205.
In CMYK color space (used in color printing), #5156cd hex color is composed of 60.49% cyan, 58.05% magenta, 0% yellow and 19.61% black.
#5156cd color has a hue of 237.6 degrees, a saturation of 55.36% and a lightness of 56.1%.
#5156cd hex color contains mainly BLUE.
The closest web safe color of #5156cd is #6666cc
#5156cd hex color has a decimal value of 5330637.
HEX | 5156cd | #5156cd |
---|---|---|
RGB | 81, 86, 205 | rgb(81, 86, 205) |
RGB Percent | 31.76, 33.73, 80.39 | rgb(31.76, 33.73, 80.39) |
CMYK | 60, 58, 0, 20 | |
HSL | 237.6°, 55.36, 56.1 | hsl(237.6, 55.36%, 56.1%) |
HSV | 237.6°, 60.5, 80.4 |
XYZ | 17.741, 12.813, 59.296 |
---|---|
Hunter Lab | 35.795, 25.827, -73.159 |
CIE-LAB | 42.48, 33.679, -62.497 |
CIE-LCH | 42.48, 70.994, 298.32 |
CIE-LUV | 60.49, 58.05, 0, 19.61 |
Web Safe | 6666cc |
RGB percent of color #5156cd
CMYK percent of color #5156cd
Text with hexadecimal color #5156cd
This text has a font color of #5156cd
<p style="color:#5156cd">Text here</p>
#5156cd Background Color
This box has a background color of #5156cd
<div style="background-color:#5156cd">Text here</div>
#5156cd Border Color
This box has a border color of #5156cd
<div style="border: 4px solid #5156cd">Text here</div>
CSS codes
<p style="color:#5156cd">Text here</p>
<div style="background-color:#5156cd">Text here</div>
<div style="border: 4px solid #5156cd">Text here</div>
#5156cd Color on white background
This is how a font and box color of #5156cd will look
on a white background.
#5156cd Color on black background
This is how a font and box color of #5156cd hex color will look
on a black background.