In RGB color space, #5f51e1 hex color has a red value of 95, a green value of 81 and a blue value of 225.
In CMYK color space (used in color printing), #5f51e1 hex color is composed of 57.78% cyan, 64% magenta, 0% yellow and 11.76% black.
#5f51e1 color has a hue of 245.8 degrees, a saturation of 70.59% and a lightness of 60%.
#5f51e1 hex color contains mainly BLUE.
The closest web safe color of #5f51e1 is #6666cc
#5f51e1 hex color has a decimal value of 6246881.
HEX | 5f51e1 | #5f51e1 |
---|---|---|
RGB | 95, 81, 225 | rgb(95, 81, 225) |
RGB Percent | 37.25, 31.76, 88.24 | rgb(37.25, 31.76, 88.24) |
CMYK | 58, 64, 0, 12 | |
HSL | 245.8°, 70.59, 60 | hsl(245.8, 70.59%, 60%) |
HSV | 245.8°, 64, 88.2 |
XYZ | 21.252, 13.754, 72.769 |
---|---|
Hunter Lab | 37.086, 37.387, -90.375 |
CIE-LAB | 43.878, 45.381, -71.623 |
CIE-LCH | 43.878, 84.79, 302.359 |
CIE-LUV | 57.78, 64, 0, 11.76 |
Web Safe | 6666cc |
RGB percent of color #5f51e1
CMYK percent of color #5f51e1
Text with hexadecimal color #5f51e1
This text has a font color of #5f51e1
<p style="color:#5f51e1">Text here</p>
#5f51e1 Background Color
This box has a background color of #5f51e1
<div style="background-color:#5f51e1">Text here</div>
#5f51e1 Border Color
This box has a border color of #5f51e1
<div style="border: 4px solid #5f51e1">Text here</div>
CSS codes
<p style="color:#5f51e1">Text here</p>
<div style="background-color:#5f51e1">Text here</div>
<div style="border: 4px solid #5f51e1">Text here</div>
#5f51e1 Color on white background
This is how a font and box color of #5f51e1 will look
on a white background.
#5f51e1 Color on black background
This is how a font and box color of #5f51e1 hex color will look
on a black background.