In RGB color space, #5f51c0 hex color has a red value of 95, a green value of 81 and a blue value of 192.
In CMYK color space (used in color printing), #5f51c0 hex color is composed of 50.52% cyan, 57.81% magenta, 0% yellow and 24.71% black.
#5f51c0 color has a hue of 247.6 degrees, a saturation of 46.84% and a lightness of 53.5%.
#5f51c0 hex color contains mainly BLUE.
The closest web safe color of #5f51c0 is #6666cc
#5f51c0 hex color has a decimal value of 6246848.
HEX | 5f51c0 | #5f51c0 |
---|---|---|
RGB | 95, 81, 192 | rgb(95, 81, 192) |
RGB Percent | 37.25, 31.76, 75.29 | rgb(37.25, 31.76, 75.29) |
CMYK | 51, 58, 0, 25 | |
HSL | 247.6°, 46.84, 53.5 | hsl(247.6, 46.84%, 53.5%) |
HSV | 247.6°, 57.8, 75.3 |
XYZ | 17.176, 12.124, 51.304 |
---|---|
Hunter Lab | 34.82, 27.117, -62.986 |
CIE-LAB | 41.413, 35.214, -56.643 |
CIE-LCH | 41.413, 66.697, 301.869 |
CIE-LUV | 50.52, 57.81, 0, 24.71 |
Web Safe | 6666cc |
RGB percent of color #5f51c0
CMYK percent of color #5f51c0
Text with hexadecimal color #5f51c0
This text has a font color of #5f51c0
<p style="color:#5f51c0">Text here</p>
#5f51c0 Background Color
This box has a background color of #5f51c0
<div style="background-color:#5f51c0">Text here</div>
#5f51c0 Border Color
This box has a border color of #5f51c0
<div style="border: 4px solid #5f51c0">Text here</div>
CSS codes
<p style="color:#5f51c0">Text here</p>
<div style="background-color:#5f51c0">Text here</div>
<div style="border: 4px solid #5f51c0">Text here</div>
#5f51c0 Color on white background
This is how a font and box color of #5f51c0 will look
on a white background.
#5f51c0 Color on black background
This is how a font and box color of #5f51c0 hex color will look
on a black background.