In RGB color space, #5f42d6 hex color has a red value of 95, a green value of 66 and a blue value of 214.
In CMYK color space (used in color printing), #5f42d6 hex color is composed of 55.61% cyan, 69.16% magenta, 0% yellow and 16.08% black.
#5f42d6 color has a hue of 251.8 degrees, a saturation of 64.35% and a lightness of 54.9%.
#5f42d6 hex color contains mainly BLUE.
The closest web safe color of #5f42d6 is #6633cc
#5f42d6 hex color has a decimal value of 6243030.
HEX | 5f42d6 | #5f42d6 |
---|---|---|
RGB | 95, 66, 214 | rgb(95, 66, 214) |
RGB Percent | 37.25, 25.88, 83.92 | rgb(37.25, 25.88, 83.92) |
CMYK | 56, 69, 0, 16 | |
HSL | 251.8°, 64.35, 54.9 | hsl(251.8, 64.35%, 54.9%) |
HSV | 251.8°, 69.2, 83.9 |
XYZ | 18.805, 11.184, 64.786 |
---|---|
Hunter Lab | 33.442, 41.848, -91.449 |
CIE-LAB | 39.889, 50.451, -71.857 |
CIE-LCH | 39.889, 87.799, 305.073 |
CIE-LUV | 55.61, 69.16, 0, 16.08 |
Web Safe | 6633cc |
RGB percent of color #5f42d6
CMYK percent of color #5f42d6
Text with hexadecimal color #5f42d6
This text has a font color of #5f42d6
<p style="color:#5f42d6">Text here</p>
#5f42d6 Background Color
This box has a background color of #5f42d6
<div style="background-color:#5f42d6">Text here</div>
#5f42d6 Border Color
This box has a border color of #5f42d6
<div style="border: 4px solid #5f42d6">Text here</div>
CSS codes
<p style="color:#5f42d6">Text here</p>
<div style="background-color:#5f42d6">Text here</div>
<div style="border: 4px solid #5f42d6">Text here</div>
#5f42d6 Color on white background
This is how a font and box color of #5f42d6 will look
on a white background.
#5f42d6 Color on black background
This is how a font and box color of #5f42d6 hex color will look
on a black background.