In RGB color space, #5f42e0 hex color has a red value of 95, a green value of 66 and a blue value of 224.
In CMYK color space (used in color printing), #5f42e0 hex color is composed of 57.59% cyan, 70.54% magenta, 0% yellow and 12.16% black.
#5f42e0 color has a hue of 251 degrees, a saturation of 71.82% and a lightness of 56.9%.
#5f42e0 hex color contains mainly BLUE.
The closest web safe color of #5f42e0 is #6633cc
#5f42e0 hex color has a decimal value of 6243040.
HEX | 5f42e0 | #5f42e0 |
---|---|---|
RGB | 95, 66, 224 | rgb(95, 66, 224) |
RGB Percent | 37.25, 25.88, 87.84 | rgb(37.25, 25.88, 87.84) |
CMYK | 58, 71, 0, 12 | |
HSL | 251°, 71.82, 56.9 | hsl(251, 71.82%, 56.9%) |
HSV | 251°, 70.5, 87.8 |
XYZ | 20.122, 11.711, 71.721 |
---|---|
Hunter Lab | 34.221, 45.07, -100.305 |
CIE-LAB | 40.753, 53.373, -76.167 |
CIE-LCH | 40.753, 93.006, 305.02 |
CIE-LUV | 57.59, 70.54, 0, 12.16 |
Web Safe | 6633cc |
RGB percent of color #5f42e0
CMYK percent of color #5f42e0
Text with hexadecimal color #5f42e0
This text has a font color of #5f42e0
<p style="color:#5f42e0">Text here</p>
#5f42e0 Background Color
This box has a background color of #5f42e0
<div style="background-color:#5f42e0">Text here</div>
#5f42e0 Border Color
This box has a border color of #5f42e0
<div style="border: 4px solid #5f42e0">Text here</div>
CSS codes
<p style="color:#5f42e0">Text here</p>
<div style="background-color:#5f42e0">Text here</div>
<div style="border: 4px solid #5f42e0">Text here</div>
#5f42e0 Color on white background
This is how a font and box color of #5f42e0 will look
on a white background.
#5f42e0 Color on black background
This is how a font and box color of #5f42e0 hex color will look
on a black background.