In RGB color space, #5f42bf hex color has a red value of 95, a green value of 66 and a blue value of 191.
In CMYK color space (used in color printing), #5f42bf hex color is composed of 50.26% cyan, 65.45% magenta, 0% yellow and 25.1% black.
#5f42bf color has a hue of 253.9 degrees, a saturation of 49.41% and a lightness of 50.4%.
#5f42bf hex color contains mainly BLUE.
The closest web safe color of #5f42bf is #6633cc
#5f42bf hex color has a decimal value of 6243007.
HEX | 5f42bf | #5f42bf |
---|---|---|
RGB | 95, 66, 191 | rgb(95, 66, 191) |
RGB Percent | 37.25, 25.88, 74.9 | rgb(37.25, 25.88, 74.9) |
CMYK | 50, 65, 0, 25 | |
HSL | 253.9°, 49.41, 50.4 | hsl(253.9, 49.41%, 50.4%) |
HSV | 253.9°, 65.4, 74.9 |
XYZ | 16.071, 10.091, 50.391 |
---|---|
Hunter Lab | 31.766, 34.714, -71.815 |
CIE-LAB | 38.005, 43.704, -61.589 |
CIE-LCH | 38.005, 75.52, 305.36 |
CIE-LUV | 50.26, 65.45, 0, 25.1 |
Web Safe | 6633cc |
RGB percent of color #5f42bf
CMYK percent of color #5f42bf
Text with hexadecimal color #5f42bf
This text has a font color of #5f42bf
<p style="color:#5f42bf">Text here</p>
#5f42bf Background Color
This box has a background color of #5f42bf
<div style="background-color:#5f42bf">Text here</div>
#5f42bf Border Color
This box has a border color of #5f42bf
<div style="border: 4px solid #5f42bf">Text here</div>
CSS codes
<p style="color:#5f42bf">Text here</p>
<div style="background-color:#5f42bf">Text here</div>
<div style="border: 4px solid #5f42bf">Text here</div>
#5f42bf Color on white background
This is how a font and box color of #5f42bf will look
on a white background.
#5f42bf Color on black background
This is how a font and box color of #5f42bf hex color will look
on a black background.