In RGB color space, #5c42c8 hex color has a red value of 92, a green value of 66 and a blue value of 200.
In CMYK color space (used in color printing), #5c42c8 hex color is composed of 54% cyan, 67% magenta, 0% yellow and 21.57% black.
#5c42c8 color has a hue of 251.6 degrees, a saturation of 54.92% and a lightness of 52.2%.
#5c42c8 hex color contains mainly BLUE.
The closest web safe color of #5c42c8 is #6633cc
#5c42c8 hex color has a decimal value of 6046408.
HEX | 5c42c8 | #5c42c8 |
---|---|---|
RGB | 92, 66, 200 | rgb(92, 66, 200) |
RGB Percent | 36.08, 25.88, 78.43 | rgb(36.08, 25.88, 78.43) |
CMYK | 54, 67, 0, 22 | |
HSL | 251.6°, 54.92, 52.2 | hsl(251.6, 54.92%, 52.2%) |
HSV | 251.6°, 67, 78.4 |
XYZ | 16.787, 10.342, 55.755 |
---|---|
Hunter Lab | 32.159, 36.899, -80.282 |
CIE-LAB | 38.449, 45.836, -66.128 |
CIE-LCH | 38.449, 80.46, 304.727 |
CIE-LUV | 54, 67, 0, 21.57 |
Web Safe | 6633cc |
RGB percent of color #5c42c8
CMYK percent of color #5c42c8
Text with hexadecimal color #5c42c8
This text has a font color of #5c42c8
<p style="color:#5c42c8">Text here</p>
#5c42c8 Background Color
This box has a background color of #5c42c8
<div style="background-color:#5c42c8">Text here</div>
#5c42c8 Border Color
This box has a border color of #5c42c8
<div style="border: 4px solid #5c42c8">Text here</div>
CSS codes
<p style="color:#5c42c8">Text here</p>
<div style="background-color:#5c42c8">Text here</div>
<div style="border: 4px solid #5c42c8">Text here</div>
#5c42c8 Color on white background
This is how a font and box color of #5c42c8 will look
on a white background.
#5c42c8 Color on black background
This is how a font and box color of #5c42c8 hex color will look
on a black background.