In RGB color space, #5c42ab hex color has a red value of 92, a green value of 66 and a blue value of 171.
In CMYK color space (used in color printing), #5c42ab hex color is composed of 46.2% cyan, 61.4% magenta, 0% yellow and 32.94% black.
#5c42ab color has a hue of 254.9 degrees, a saturation of 44.3% and a lightness of 46.5%.
#5c42ab hex color contains mainly BLUE.
The closest web safe color of #5c42ab is #663399
#5c42ab hex color has a decimal value of 6046379.
HEX | 5c42ab | #5c42ab |
---|---|---|
RGB | 92, 66, 171 | rgb(92, 66, 171) |
RGB Percent | 36.08, 25.88, 67.06 | rgb(36.08, 25.88, 67.06) |
CMYK | 46, 61, 0, 33 | |
HSL | 254.9°, 44.3, 46.5 | hsl(254.9, 44.3%, 46.5%) |
HSV | 254.9°, 61.4, 67.1 |
XYZ | 13.713, 9.112, 39.564 |
---|---|
Hunter Lab | 30.186, 28.264, -56.579 |
CIE-LAB | 36.199, 37.246, -52.719 |
CIE-LCH | 36.199, 64.549, 305.241 |
CIE-LUV | 46.2, 61.4, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #5c42ab
CMYK percent of color #5c42ab
Text with hexadecimal color #5c42ab
This text has a font color of #5c42ab
<p style="color:#5c42ab">Text here</p>
#5c42ab Background Color
This box has a background color of #5c42ab
<div style="background-color:#5c42ab">Text here</div>
#5c42ab Border Color
This box has a border color of #5c42ab
<div style="border: 4px solid #5c42ab">Text here</div>
CSS codes
<p style="color:#5c42ab">Text here</p>
<div style="background-color:#5c42ab">Text here</div>
<div style="border: 4px solid #5c42ab">Text here</div>
#5c42ab Color on white background
This is how a font and box color of #5c42ab will look
on a white background.
#5c42ab Color on black background
This is how a font and box color of #5c42ab hex color will look
on a black background.