In RGB color space, #5f42cf hex color has a red value of 95, a green value of 66 and a blue value of 207.
In CMYK color space (used in color printing), #5f42cf hex color is composed of 54.11% cyan, 68.12% magenta, 0% yellow and 18.82% black.
#5f42cf color has a hue of 252.3 degrees, a saturation of 59.49% and a lightness of 53.5%.
#5f42cf hex color contains mainly BLUE.
The closest web safe color of #5f42cf is #6633cc
#5f42cf hex color has a decimal value of 6243023.
HEX | 5f42cf | #5f42cf |
---|---|---|
RGB | 95, 66, 207 | rgb(95, 66, 207) |
RGB Percent | 37.25, 25.88, 81.18 | rgb(37.25, 25.88, 81.18) |
CMYK | 54, 68, 0, 19 | |
HSL | 252.3°, 59.49, 53.5 | hsl(252.3, 59.49%, 53.5%) |
HSV | 252.3°, 68.1, 81.2 |
XYZ | 17.93, 10.834, 60.178 |
---|---|
Hunter Lab | 32.915, 39.634, -85.358 |
CIE-LAB | 39.299, 48.399, -68.787 |
CIE-LCH | 39.299, 84.108, 305.13 |
CIE-LUV | 54.11, 68.12, 0, 18.82 |
Web Safe | 6633cc |
RGB percent of color #5f42cf
CMYK percent of color #5f42cf
Text with hexadecimal color #5f42cf
This text has a font color of #5f42cf
<p style="color:#5f42cf">Text here</p>
#5f42cf Background Color
This box has a background color of #5f42cf
<div style="background-color:#5f42cf">Text here</div>
#5f42cf Border Color
This box has a border color of #5f42cf
<div style="border: 4px solid #5f42cf">Text here</div>
CSS codes
<p style="color:#5f42cf">Text here</p>
<div style="background-color:#5f42cf">Text here</div>
<div style="border: 4px solid #5f42cf">Text here</div>
#5f42cf Color on white background
This is how a font and box color of #5f42cf will look
on a white background.
#5f42cf Color on black background
This is how a font and box color of #5f42cf hex color will look
on a black background.