In RGB color space, #5f42c4 hex color has a red value of 95, a green value of 66 and a blue value of 196.
In CMYK color space (used in color printing), #5f42c4 hex color is composed of 51.53% cyan, 66.33% magenta, 0% yellow and 23.14% black.
#5f42c4 color has a hue of 253.4 degrees, a saturation of 52.42% and a lightness of 51.4%.
#5f42c4 hex color contains mainly BLUE.
The closest web safe color of #5f42c4 is #6633cc
#5f42c4 hex color has a decimal value of 6243012.
HEX | 5f42c4 | #5f42c4 |
---|---|---|
RGB | 95, 66, 196 | rgb(95, 66, 196) |
RGB Percent | 37.25, 25.88, 76.86 | rgb(37.25, 25.88, 76.86) |
CMYK | 52, 66, 0, 23 | |
HSL | 253.4°, 52.42, 51.4 | hsl(253.4, 52.42%, 51.4%) |
HSV | 253.4°, 66.3, 76.9 |
XYZ | 16.631, 10.315, 53.339 |
---|---|
Hunter Lab | 32.117, 36.227, -75.985 |
CIE-LAB | 38.402, 45.169, -63.865 |
CIE-LCH | 38.402, 78.224, 305.27 |
CIE-LUV | 51.53, 66.33, 0, 23.14 |
Web Safe | 6633cc |
RGB percent of color #5f42c4
CMYK percent of color #5f42c4
Text with hexadecimal color #5f42c4
This text has a font color of #5f42c4
<p style="color:#5f42c4">Text here</p>
#5f42c4 Background Color
This box has a background color of #5f42c4
<div style="background-color:#5f42c4">Text here</div>
#5f42c4 Border Color
This box has a border color of #5f42c4
<div style="border: 4px solid #5f42c4">Text here</div>
CSS codes
<p style="color:#5f42c4">Text here</p>
<div style="background-color:#5f42c4">Text here</div>
<div style="border: 4px solid #5f42c4">Text here</div>
#5f42c4 Color on white background
This is how a font and box color of #5f42c4 will look
on a white background.
#5f42c4 Color on black background
This is how a font and box color of #5f42c4 hex color will look
on a black background.