In RGB color space, #5f42ad hex color has a red value of 95, a green value of 66 and a blue value of 173.
In CMYK color space (used in color printing), #5f42ad hex color is composed of 45.09% cyan, 61.85% magenta, 0% yellow and 32.16% black.
#5f42ad color has a hue of 256.3 degrees, a saturation of 44.77% and a lightness of 46.9%.
#5f42ad hex color contains mainly BLUE.
The closest web safe color of #5f42ad is #663399
#5f42ad hex color has a decimal value of 6242989.
HEX | 5f42ad | #5f42ad |
---|---|---|
RGB | 95, 66, 173 | rgb(95, 66, 173) |
RGB Percent | 37.25, 25.88, 67.84 | rgb(37.25, 25.88, 67.84) |
CMYK | 45, 62, 0, 32 | |
HSL | 256.3°, 44.77, 46.9 | hsl(256.3, 44.77%, 46.9%) |
HSV | 256.3°, 61.8, 67.8 |
XYZ | 14.21, 9.346, 40.59 |
---|---|
Hunter Lab | 30.571, 29.47, -57.321 |
CIE-LAB | 36.642, 38.466, -53.178 |
CIE-LCH | 36.642, 65.632, 305.88 |
CIE-LUV | 45.09, 61.85, 0, 32.16 |
Web Safe | 663399 |
RGB percent of color #5f42ad
CMYK percent of color #5f42ad
Text with hexadecimal color #5f42ad
This text has a font color of #5f42ad
<p style="color:#5f42ad">Text here</p>
#5f42ad Background Color
This box has a background color of #5f42ad
<div style="background-color:#5f42ad">Text here</div>
#5f42ad Border Color
This box has a border color of #5f42ad
<div style="border: 4px solid #5f42ad">Text here</div>
CSS codes
<p style="color:#5f42ad">Text here</p>
<div style="background-color:#5f42ad">Text here</div>
<div style="border: 4px solid #5f42ad">Text here</div>
#5f42ad Color on white background
This is how a font and box color of #5f42ad will look
on a white background.
#5f42ad Color on black background
This is how a font and box color of #5f42ad hex color will look
on a black background.