In RGB color space, #5f42f6 hex color has a red value of 95, a green value of 66 and a blue value of 246.
In CMYK color space (used in color printing), #5f42f6 hex color is composed of 61.38% cyan, 73.17% magenta, 0% yellow and 3.53% black.
#5f42f6 color has a hue of 249.7 degrees, a saturation of 90.91% and a lightness of 61.2%.
#5f42f6 hex color contains mainly BLUE.
The closest web safe color of #5f42f6 is #6633ff
#5f42f6 hex color has a decimal value of 6243062.
HEX | 5f42f6 | #5f42f6 |
---|---|---|
RGB | 95, 66, 246 | rgb(95, 66, 246) |
RGB Percent | 37.25, 25.88, 96.47 | rgb(37.25, 25.88, 96.47) |
CMYK | 61, 73, 0, 4 | |
HSL | 249.7°, 90.91, 61.2 | hsl(249.7, 90.91%, 61.2%) |
HSV | 249.7°, 73.2, 96.5 |
XYZ | 23.302, 12.983, 88.467 |
---|---|
Hunter Lab | 36.032, 52.381, -120.349 |
CIE-LAB | 42.738, 59.756, -85.353 |
CIE-LCH | 42.738, 104.192, 304.996 |
CIE-LUV | 61.38, 73.17, 0, 3.53 |
Web Safe | 6633ff |
RGB percent of color #5f42f6
CMYK percent of color #5f42f6
Text with hexadecimal color #5f42f6
This text has a font color of #5f42f6
<p style="color:#5f42f6">Text here</p>
#5f42f6 Background Color
This box has a background color of #5f42f6
<div style="background-color:#5f42f6">Text here</div>
#5f42f6 Border Color
This box has a border color of #5f42f6
<div style="border: 4px solid #5f42f6">Text here</div>
CSS codes
<p style="color:#5f42f6">Text here</p>
<div style="background-color:#5f42f6">Text here</div>
<div style="border: 4px solid #5f42f6">Text here</div>
#5f42f6 Color on white background
This is how a font and box color of #5f42f6 will look
on a white background.
#5f42f6 Color on black background
This is how a font and box color of #5f42f6 hex color will look
on a black background.