In RGB color space, #5b42c6 hex color has a red value of 91, a green value of 66 and a blue value of 198.
In CMYK color space (used in color printing), #5b42c6 hex color is composed of 54.04% cyan, 66.67% magenta, 0% yellow and 22.35% black.
#5b42c6 color has a hue of 251.4 degrees, a saturation of 53.66% and a lightness of 51.8%.
#5b42c6 hex color contains mainly BLUE.
The closest web safe color of #5b42c6 is #6633cc
#5b42c6 hex color has a decimal value of 5980870.
HEX | 5b42c6 | #5b42c6 |
---|---|---|
RGB | 91, 66, 198 | rgb(91, 66, 198) |
RGB Percent | 35.69, 25.88, 77.65 | rgb(35.69, 25.88, 77.65) |
CMYK | 54, 67, 0, 22 | |
HSL | 251.4°, 53.66, 51.8 | hsl(251.4, 53.66%, 51.8%) |
HSV | 251.4°, 66.7, 77.6 |
XYZ | 16.456, 10.198, 54.527 |
---|---|
Hunter Lab | 31.934, 36.097, -78.882 |
CIE-LAB | 38.195, 45.074, -65.383 |
CIE-LCH | 38.195, 79.414, 304.582 |
CIE-LUV | 54.04, 66.67, 0, 22.35 |
Web Safe | 6633cc |
RGB percent of color #5b42c6
CMYK percent of color #5b42c6
Text with hexadecimal color #5b42c6
This text has a font color of #5b42c6
<p style="color:#5b42c6">Text here</p>
#5b42c6 Background Color
This box has a background color of #5b42c6
<div style="background-color:#5b42c6">Text here</div>
#5b42c6 Border Color
This box has a border color of #5b42c6
<div style="border: 4px solid #5b42c6">Text here</div>
CSS codes
<p style="color:#5b42c6">Text here</p>
<div style="background-color:#5b42c6">Text here</div>
<div style="border: 4px solid #5b42c6">Text here</div>
#5b42c6 Color on white background
This is how a font and box color of #5b42c6 will look
on a white background.
#5b42c6 Color on black background
This is how a font and box color of #5b42c6 hex color will look
on a black background.