In RGB color space, #5f51f2 hex color has a red value of 95, a green value of 81 and a blue value of 242.
In CMYK color space (used in color printing), #5f51f2 hex color is composed of 60.74% cyan, 66.53% magenta, 0% yellow and 5.1% black.
#5f51f2 color has a hue of 245.2 degrees, a saturation of 86.1% and a lightness of 63.3%.
#5f51f2 hex color contains mainly BLUE.
The closest web safe color of #5f51f2 is #6666ff
#5f51f2 hex color has a decimal value of 6246898.
HEX | 5f51f2 | #5f51f2 |
---|---|---|
RGB | 95, 81, 242 | rgb(95, 81, 242) |
RGB Percent | 37.25, 31.76, 94.9 | rgb(37.25, 31.76, 94.9) |
CMYK | 61, 67, 0, 5 | |
HSL | 245.2°, 86.1, 63.3 | hsl(245.2, 86.1%, 63.3%) |
HSV | 245.2°, 66.5, 94.9 |
XYZ | 23.689, 14.729, 85.599 |
---|---|
Hunter Lab | 38.378, 43.017, -105.375 |
CIE-LAB | 45.261, 50.603, -78.964 |
CIE-LCH | 45.261, 93.787, 302.653 |
CIE-LUV | 60.74, 66.53, 0, 5.1 |
Web Safe | 6666ff |
RGB percent of color #5f51f2
CMYK percent of color #5f51f2
Text with hexadecimal color #5f51f2
This text has a font color of #5f51f2
<p style="color:#5f51f2">Text here</p>
#5f51f2 Background Color
This box has a background color of #5f51f2
<div style="background-color:#5f51f2">Text here</div>
#5f51f2 Border Color
This box has a border color of #5f51f2
<div style="border: 4px solid #5f51f2">Text here</div>
CSS codes
<p style="color:#5f51f2">Text here</p>
<div style="background-color:#5f51f2">Text here</div>
<div style="border: 4px solid #5f51f2">Text here</div>
#5f51f2 Color on white background
This is how a font and box color of #5f51f2 will look
on a white background.
#5f51f2 Color on black background
This is how a font and box color of #5f51f2 hex color will look
on a black background.