In RGB color space, #5150a6 hex color has a red value of 81, a green value of 80 and a blue value of 166.
In CMYK color space (used in color printing), #5150a6 hex color is composed of 51.2% cyan, 51.81% magenta, 0% yellow and 34.9% black.
#5150a6 color has a hue of 240.7 degrees, a saturation of 34.96% and a lightness of 48.2%.
#5150a6 hex color contains mainly BLUE.
The closest web safe color of #5150a6 is #666699
#5150a6 hex color has a decimal value of 5329062.
HEX | 5150a6 | #5150a6 |
---|---|---|
RGB | 81, 80, 166 | rgb(81, 80, 166) |
RGB Percent | 31.76, 31.37, 65.1 | rgb(31.76, 31.37, 65.1) |
CMYK | 51, 52, 0, 35 | |
HSL | 240.7°, 34.96, 48.2 | hsl(240.7, 34.96%, 48.2%) |
HSV | 240.7°, 51.8, 65.1 |
XYZ | 13.145, 10.24, 37.36 |
---|---|
Hunter Lab | 32, 17.324, -46.821 |
CIE-LAB | 38.27, 24.648, -46.448 |
CIE-LCH | 38.27, 52.583, 297.953 |
CIE-LUV | 51.2, 51.81, 0, 34.9 |
Web Safe | 666699 |
RGB percent of color #5150a6
CMYK percent of color #5150a6
Text with hexadecimal color #5150a6
This text has a font color of #5150a6
<p style="color:#5150a6">Text here</p>
#5150a6 Background Color
This box has a background color of #5150a6
<div style="background-color:#5150a6">Text here</div>
#5150a6 Border Color
This box has a border color of #5150a6
<div style="border: 4px solid #5150a6">Text here</div>
CSS codes
<p style="color:#5150a6">Text here</p>
<div style="background-color:#5150a6">Text here</div>
<div style="border: 4px solid #5150a6">Text here</div>
#5150a6 Color on white background
This is how a font and box color of #5150a6 will look
on a white background.
#5150a6 Color on black background
This is how a font and box color of #5150a6 hex color will look
on a black background.