In RGB color space, #5f51f0 hex color has a red value of 95, a green value of 81 and a blue value of 240.
In CMYK color space (used in color printing), #5f51f0 hex color is composed of 60.42% cyan, 66.25% magenta, 0% yellow and 5.88% black.
#5f51f0 color has a hue of 245.3 degrees, a saturation of 84.13% and a lightness of 62.9%.
#5f51f0 hex color contains mainly BLUE.
The closest web safe color of #5f51f0 is #6666ff
#5f51f0 hex color has a decimal value of 6246896.
HEX | 5f51f0 | #5f51f0 |
---|---|---|
RGB | 95, 81, 240 | rgb(95, 81, 240) |
RGB Percent | 37.25, 31.76, 94.12 | rgb(37.25, 31.76, 94.12) |
CMYK | 60, 66, 0, 6 | |
HSL | 245.3°, 84.13, 62.9 | hsl(245.3, 84.13%, 62.9%) |
HSV | 245.3°, 66.3, 94.1 |
XYZ | 23.39, 14.609, 84.025 |
---|---|
Hunter Lab | 38.222, 42.346, -103.585 |
CIE-LAB | 45.094, 49.993, -78.114 |
CIE-LCH | 45.094, 92.742, 302.619 |
CIE-LUV | 60.42, 66.25, 0, 5.88 |
Web Safe | 6666ff |
RGB percent of color #5f51f0
CMYK percent of color #5f51f0
Text with hexadecimal color #5f51f0
This text has a font color of #5f51f0
<p style="color:#5f51f0">Text here</p>
#5f51f0 Background Color
This box has a background color of #5f51f0
<div style="background-color:#5f51f0">Text here</div>
#5f51f0 Border Color
This box has a border color of #5f51f0
<div style="border: 4px solid #5f51f0">Text here</div>
CSS codes
<p style="color:#5f51f0">Text here</p>
<div style="background-color:#5f51f0">Text here</div>
<div style="border: 4px solid #5f51f0">Text here</div>
#5f51f0 Color on white background
This is how a font and box color of #5f51f0 will look
on a white background.
#5f51f0 Color on black background
This is how a font and box color of #5f51f0 hex color will look
on a black background.