In RGB color space, #5f42b6 hex color has a red value of 95, a green value of 66 and a blue value of 182.
In CMYK color space (used in color printing), #5f42b6 hex color is composed of 47.8% cyan, 63.74% magenta, 0% yellow and 28.63% black.
#5f42b6 color has a hue of 255 degrees, a saturation of 46.77% and a lightness of 48.6%.
#5f42b6 hex color contains mainly BLUE.
The closest web safe color of #5f42b6 is #6633cc
#5f42b6 hex color has a decimal value of 6242998.
HEX | 5f42b6 | #5f42b6 |
---|---|---|
RGB | 95, 66, 182 | rgb(95, 66, 182) |
RGB Percent | 37.25, 25.88, 71.37 | rgb(37.25, 25.88, 71.37) |
CMYK | 48, 64, 0, 29 | |
HSL | 255°, 46.77, 48.6 | hsl(255, 46.77%, 48.6%) |
HSV | 255°, 63.7, 71.4 |
XYZ | 15.111, 9.707, 45.333 |
---|---|
Hunter Lab | 31.156, 32.051, -64.459 |
CIE-LAB | 37.311, 41.076, -57.426 |
CIE-LCH | 37.311, 70.604, 305.576 |
CIE-LUV | 47.8, 63.74, 0, 28.63 |
Web Safe | 6633cc |
RGB percent of color #5f42b6
CMYK percent of color #5f42b6
Text with hexadecimal color #5f42b6
This text has a font color of #5f42b6
<p style="color:#5f42b6">Text here</p>
#5f42b6 Background Color
This box has a background color of #5f42b6
<div style="background-color:#5f42b6">Text here</div>
#5f42b6 Border Color
This box has a border color of #5f42b6
<div style="border: 4px solid #5f42b6">Text here</div>
CSS codes
<p style="color:#5f42b6">Text here</p>
<div style="background-color:#5f42b6">Text here</div>
<div style="border: 4px solid #5f42b6">Text here</div>
#5f42b6 Color on white background
This is how a font and box color of #5f42b6 will look
on a white background.
#5f42b6 Color on black background
This is how a font and box color of #5f42b6 hex color will look
on a black background.