In RGB color space, #5c42c6 hex color has a red value of 92, a green value of 66 and a blue value of 198.
In CMYK color space (used in color printing), #5c42c6 hex color is composed of 53.54% cyan, 66.67% magenta, 0% yellow and 22.35% black.
#5c42c6 color has a hue of 251.8 degrees, a saturation of 53.66% and a lightness of 51.8%.
#5c42c6 hex color contains mainly BLUE.
The closest web safe color of #5c42c6 is #6633cc
#5c42c6 hex color has a decimal value of 6046406.
HEX | 5c42c6 | #5c42c6 |
---|---|---|
RGB | 92, 66, 198 | rgb(92, 66, 198) |
RGB Percent | 36.08, 25.88, 77.65 | rgb(36.08, 25.88, 77.65) |
CMYK | 54, 67, 0, 22 | |
HSL | 251.8°, 53.66, 51.8 | hsl(251.8, 53.66%, 51.8%) |
HSV | 251.8°, 66.7, 77.6 |
XYZ | 16.555, 10.249, 54.532 |
---|---|
Hunter Lab | 32.014, 36.281, -78.583 |
CIE-LAB | 38.286, 45.243, -65.232 |
CIE-LCH | 38.286, 79.386, 304.744 |
CIE-LUV | 53.54, 66.67, 0, 22.35 |
Web Safe | 6633cc |
RGB percent of color #5c42c6
CMYK percent of color #5c42c6
Text with hexadecimal color #5c42c6
This text has a font color of #5c42c6
<p style="color:#5c42c6">Text here</p>
#5c42c6 Background Color
This box has a background color of #5c42c6
<div style="background-color:#5c42c6">Text here</div>
#5c42c6 Border Color
This box has a border color of #5c42c6
<div style="border: 4px solid #5c42c6">Text here</div>
CSS codes
<p style="color:#5c42c6">Text here</p>
<div style="background-color:#5c42c6">Text here</div>
<div style="border: 4px solid #5c42c6">Text here</div>
#5c42c6 Color on white background
This is how a font and box color of #5c42c6 will look
on a white background.
#5c42c6 Color on black background
This is how a font and box color of #5c42c6 hex color will look
on a black background.