In RGB color space, #5f4180 hex color has a red value of 95, a green value of 65 and a blue value of 128.
In CMYK color space (used in color printing), #5f4180 hex color is composed of 25.78% cyan, 49.22% magenta, 0% yellow and 49.8% black.
#5f4180 color has a hue of 268.6 degrees, a saturation of 32.64% and a lightness of 37.8%.
#5f4180 hex color contains mainly BLUE.
The closest web safe color of #5f4180 is #663399
#5f4180 hex color has a decimal value of 6242688.
HEX | 5f4180 | #5f4180 |
---|---|---|
RGB | 95, 65, 128 | rgb(95, 65, 128) |
RGB Percent | 37.25, 25.49, 50.2 | rgb(37.25, 25.49, 50.2) |
CMYK | 26, 49, 0, 50 | |
HSL | 268.6°, 32.64, 37.8 | hsl(268.6, 32.64%, 37.8%) |
HSV | 268.6°, 49.2, 50.2 |
XYZ | 10.506, 7.772, 21.368 |
---|---|
Hunter Lab | 27.878, 18.481, -25.929 |
CIE-LAB | 33.503, 26.582, -30.874 |
CIE-LCH | 33.503, 40.741, 310.728 |
CIE-LUV | 25.78, 49.22, 0, 49.8 |
Web Safe | 663399 |
RGB percent of color #5f4180
CMYK percent of color #5f4180
Text with hexadecimal color #5f4180
This text has a font color of #5f4180
<p style="color:#5f4180">Text here</p>
#5f4180 Background Color
This box has a background color of #5f4180
<div style="background-color:#5f4180">Text here</div>
#5f4180 Border Color
This box has a border color of #5f4180
<div style="border: 4px solid #5f4180">Text here</div>
CSS codes
<p style="color:#5f4180">Text here</p>
<div style="background-color:#5f4180">Text here</div>
<div style="border: 4px solid #5f4180">Text here</div>
#5f4180 Color on white background
This is how a font and box color of #5f4180 will look
on a white background.
#5f4180 Color on black background
This is how a font and box color of #5f4180 hex color will look
on a black background.