In RGB color space, #5b42cb hex color has a red value of 91, a green value of 66 and a blue value of 203.
In CMYK color space (used in color printing), #5b42cb hex color is composed of 55.17% cyan, 67.49% magenta, 0% yellow and 20.39% black.
#5b42cb color has a hue of 250.9 degrees, a saturation of 56.85% and a lightness of 52.7%.
#5b42cb hex color contains mainly BLUE.
The closest web safe color of #5b42cb is #6633cc
#5b42cb hex color has a decimal value of 5980875.
HEX | 5b42cb | #5b42cb |
---|---|---|
RGB | 91, 66, 203 | rgb(91, 66, 203) |
RGB Percent | 35.69, 25.88, 79.61 | rgb(35.69, 25.88, 79.61) |
CMYK | 55, 67, 0, 20 | |
HSL | 250.9°, 56.85, 52.7 | hsl(250.9, 56.85%, 52.7%) |
HSV | 250.9°, 67.5, 79.6 |
XYZ | 17.042, 10.432, 57.615 |
---|---|
Hunter Lab | 32.299, 37.661, -83.154 |
CIE-LAB | 38.607, 46.57, -67.617 |
CIE-LCH | 38.607, 82.103, 304.556 |
CIE-LUV | 55.17, 67.49, 0, 20.39 |
Web Safe | 6633cc |
RGB percent of color #5b42cb
CMYK percent of color #5b42cb
Text with hexadecimal color #5b42cb
This text has a font color of #5b42cb
<p style="color:#5b42cb">Text here</p>
#5b42cb Background Color
This box has a background color of #5b42cb
<div style="background-color:#5b42cb">Text here</div>
#5b42cb Border Color
This box has a border color of #5b42cb
<div style="border: 4px solid #5b42cb">Text here</div>
CSS codes
<p style="color:#5b42cb">Text here</p>
<div style="background-color:#5b42cb">Text here</div>
<div style="border: 4px solid #5b42cb">Text here</div>
#5b42cb Color on white background
This is how a font and box color of #5b42cb will look
on a white background.
#5b42cb Color on black background
This is how a font and box color of #5b42cb hex color will look
on a black background.