In RGB color space, #5f42e5 hex color has a red value of 95, a green value of 66 and a blue value of 229.
In CMYK color space (used in color printing), #5f42e5 hex color is composed of 58.52% cyan, 71.18% magenta, 0% yellow and 10.2% black.
#5f42e5 color has a hue of 250.7 degrees, a saturation of 75.81% and a lightness of 57.8%.
#5f42e5 hex color contains mainly BLUE.
The closest web safe color of #5f42e5 is #6633cc
#5f42e5 hex color has a decimal value of 6243045.
HEX | 5f42e5 | #5f42e5 |
---|---|---|
RGB | 95, 66, 229 | rgb(95, 66, 229) |
RGB Percent | 37.25, 25.88, 89.8 | rgb(37.25, 25.88, 89.8) |
CMYK | 59, 71, 0, 10 | |
HSL | 250.7°, 75.81, 57.8 | hsl(250.7, 75.81%, 57.8%) |
HSV | 250.7°, 71.2, 89.8 |
XYZ | 20.81, 11.986, 75.346 |
---|---|
Hunter Lab | 34.621, 46.707, -104.8 |
CIE-LAB | 41.194, 54.832, -78.291 |
CIE-LCH | 41.194, 95.583, 305.006 |
CIE-LUV | 58.52, 71.18, 0, 10.2 |
Web Safe | 6633cc |
RGB percent of color #5f42e5
CMYK percent of color #5f42e5
Text with hexadecimal color #5f42e5
This text has a font color of #5f42e5
<p style="color:#5f42e5">Text here</p>
#5f42e5 Background Color
This box has a background color of #5f42e5
<div style="background-color:#5f42e5">Text here</div>
#5f42e5 Border Color
This box has a border color of #5f42e5
<div style="border: 4px solid #5f42e5">Text here</div>
CSS codes
<p style="color:#5f42e5">Text here</p>
<div style="background-color:#5f42e5">Text here</div>
<div style="border: 4px solid #5f42e5">Text here</div>
#5f42e5 Color on white background
This is how a font and box color of #5f42e5 will look
on a white background.
#5f42e5 Color on black background
This is how a font and box color of #5f42e5 hex color will look
on a black background.