In RGB color space, #5a51e6 hex color has a red value of 90, a green value of 81 and a blue value of 230.
In CMYK color space (used in color printing), #5a51e6 hex color is composed of 60.87% cyan, 64.78% magenta, 0% yellow and 9.8% black.
#5a51e6 color has a hue of 243.6 degrees, a saturation of 74.87% and a lightness of 61%.
#5a51e6 hex color contains mainly BLUE.
The closest web safe color of #5a51e6 is #6666ff
#5a51e6 hex color has a decimal value of 5919206.
HEX | 5a51e6 | #5a51e6 |
---|---|---|
RGB | 90, 81, 230 | rgb(90, 81, 230) |
RGB Percent | 35.29, 31.76, 90.2 | rgb(35.29, 31.76, 90.2) |
CMYK | 61, 65, 0, 10 | |
HSL | 243.6°, 74.87, 61 | hsl(243.6, 74.87%, 61%) |
HSV | 243.6°, 64.8, 90.2 |
XYZ | 21.442, 13.772, 76.391 |
---|---|
Hunter Lab | 37.111, 38.191, -96.069 |
CIE-LAB | 43.904, 46.17, -74.432 |
CIE-LCH | 43.904, 87.589, 301.811 |
CIE-LUV | 60.87, 64.78, 0, 9.8 |
Web Safe | 6666ff |
RGB percent of color #5a51e6
CMYK percent of color #5a51e6
Text with hexadecimal color #5a51e6
This text has a font color of #5a51e6
<p style="color:#5a51e6">Text here</p>
#5a51e6 Background Color
This box has a background color of #5a51e6
<div style="background-color:#5a51e6">Text here</div>
#5a51e6 Border Color
This box has a border color of #5a51e6
<div style="border: 4px solid #5a51e6">Text here</div>
CSS codes
<p style="color:#5a51e6">Text here</p>
<div style="background-color:#5a51e6">Text here</div>
<div style="border: 4px solid #5a51e6">Text here</div>
#5a51e6 Color on white background
This is how a font and box color of #5a51e6 will look
on a white background.
#5a51e6 Color on black background
This is how a font and box color of #5a51e6 hex color will look
on a black background.