In RGB color space, #5156aa hex color has a red value of 81, a green value of 86 and a blue value of 170.
In CMYK color space (used in color printing), #5156aa hex color is composed of 52.35% cyan, 49.41% magenta, 0% yellow and 33.33% black.
#5156aa color has a hue of 236.6 degrees, a saturation of 35.46% and a lightness of 49.2%.
#5156aa hex color contains mainly BLUE.
The closest web safe color of #5156aa is #666699
#5156aa hex color has a decimal value of 5330602.
HEX | 5156aa | #5156aa |
---|---|---|
RGB | 81, 86, 170 | rgb(81, 86, 170) |
RGB Percent | 31.76, 33.73, 66.67 | rgb(31.76, 33.73, 66.67) |
CMYK | 52, 49, 0, 33 | |
HSL | 236.6°, 35.46, 49.2 | hsl(236.6, 35.46%, 49.2%) |
HSV | 236.6°, 52.4, 66.7 |
XYZ | 13.977, 11.307, 39.476 |
---|---|
Hunter Lab | 33.626, 15.35, -46.067 |
CIE-LAB | 40.093, 22.134, -45.9 |
CIE-LCH | 40.093, 50.958, 295.744 |
CIE-LUV | 52.35, 49.41, 0, 33.33 |
Web Safe | 666699 |
RGB percent of color #5156aa
CMYK percent of color #5156aa
Text with hexadecimal color #5156aa
This text has a font color of #5156aa
<p style="color:#5156aa">Text here</p>
#5156aa Background Color
This box has a background color of #5156aa
<div style="background-color:#5156aa">Text here</div>
#5156aa Border Color
This box has a border color of #5156aa
<div style="border: 4px solid #5156aa">Text here</div>
CSS codes
<p style="color:#5156aa">Text here</p>
<div style="background-color:#5156aa">Text here</div>
<div style="border: 4px solid #5156aa">Text here</div>
#5156aa Color on white background
This is how a font and box color of #5156aa will look
on a white background.
#5156aa Color on black background
This is how a font and box color of #5156aa hex color will look
on a black background.