In RGB color space, #5d42c0 hex color has a red value of 93, a green value of 66 and a blue value of 192.
In CMYK color space (used in color printing), #5d42c0 hex color is composed of 51.56% cyan, 65.63% magenta, 0% yellow and 24.71% black.
#5d42c0 color has a hue of 252.9 degrees, a saturation of 50% and a lightness of 50.6%.
#5d42c0 hex color contains mainly BLUE.
The closest web safe color of #5d42c0 is #6633cc
#5d42c0 hex color has a decimal value of 6111936.
HEX | 5d42c0 | #5d42c0 |
---|---|---|
RGB | 93, 66, 192 | rgb(93, 66, 192) |
RGB Percent | 36.47, 25.88, 75.29 | rgb(36.47, 25.88, 75.29) |
CMYK | 52, 66, 0, 25 | |
HSL | 252.9°, 50, 50.6 | hsl(252.9, 50%, 50.6%) |
HSV | 252.9°, 65.6, 75.3 |
XYZ | 15.977, 10.029, 50.963 |
---|---|
Hunter Lab | 31.669, 34.634, -73.245 |
CIE-LAB | 37.894, 43.641, -62.363 |
CIE-LCH | 37.894, 76.116, 304.984 |
CIE-LUV | 51.56, 65.63, 0, 24.71 |
Web Safe | 6633cc |
RGB percent of color #5d42c0
CMYK percent of color #5d42c0
Text with hexadecimal color #5d42c0
This text has a font color of #5d42c0
<p style="color:#5d42c0">Text here</p>
#5d42c0 Background Color
This box has a background color of #5d42c0
<div style="background-color:#5d42c0">Text here</div>
#5d42c0 Border Color
This box has a border color of #5d42c0
<div style="border: 4px solid #5d42c0">Text here</div>
CSS codes
<p style="color:#5d42c0">Text here</p>
<div style="background-color:#5d42c0">Text here</div>
<div style="border: 4px solid #5d42c0">Text here</div>
#5d42c0 Color on white background
This is how a font and box color of #5d42c0 will look
on a white background.
#5d42c0 Color on black background
This is how a font and box color of #5d42c0 hex color will look
on a black background.