In RGB color space, #5b42f5 hex color has a red value of 91, a green value of 66 and a blue value of 245.
In CMYK color space (used in color printing), #5b42f5 hex color is composed of 62.86% cyan, 73.06% magenta, 0% yellow and 3.92% black.
#5b42f5 color has a hue of 248.4 degrees, a saturation of 89.95% and a lightness of 61%.
#5b42f5 hex color contains mainly BLUE.
The closest web safe color of #5b42f5 is #6633ff
#5b42f5 hex color has a decimal value of 5980917.
HEX | 5b42f5 | #5b42f5 |
---|---|---|
RGB | 91, 66, 245 | rgb(91, 66, 245) |
RGB Percent | 35.69, 25.88, 96.08 | rgb(35.69, 25.88, 96.08) |
CMYK | 63, 73, 0, 4 | |
HSL | 248.4°, 89.95, 61 | hsl(248.4, 89.95%, 61%) |
HSV | 248.4°, 73.1, 96.1 |
XYZ | 22.744, 12.713, 87.641 |
---|---|
Hunter Lab | 35.655, 51.466, -120.777 |
CIE-LAB | 42.328, 59.005, -85.478 |
CIE-LCH | 42.328, 103.866, 304.617 |
CIE-LUV | 62.86, 73.06, 0, 3.92 |
Web Safe | 6633ff |
RGB percent of color #5b42f5
CMYK percent of color #5b42f5
Text with hexadecimal color #5b42f5
This text has a font color of #5b42f5
<p style="color:#5b42f5">Text here</p>
#5b42f5 Background Color
This box has a background color of #5b42f5
<div style="background-color:#5b42f5">Text here</div>
#5b42f5 Border Color
This box has a border color of #5b42f5
<div style="border: 4px solid #5b42f5">Text here</div>
CSS codes
<p style="color:#5b42f5">Text here</p>
<div style="background-color:#5b42f5">Text here</div>
<div style="border: 4px solid #5b42f5">Text here</div>
#5b42f5 Color on white background
This is how a font and box color of #5b42f5 will look
on a white background.
#5b42f5 Color on black background
This is how a font and box color of #5b42f5 hex color will look
on a black background.