In RGB color space, #5f5180 hex color has a red value of 95, a green value of 81 and a blue value of 128.
In CMYK color space (used in color printing), #5f5180 hex color is composed of 25.78% cyan, 36.72% magenta, 0% yellow and 49.8% black.
#5f5180 color has a hue of 257.9 degrees, a saturation of 22.49% and a lightness of 41%.
#5f5180 hex color contains mainly BLUE.
The closest web safe color of #5f5180 is #666699
#5f5180 hex color has a decimal value of 6246784.
HEX | 5f5180 | #5f5180 |
---|---|---|
RGB | 95, 81, 128 | rgb(95, 81, 128) |
RGB Percent | 37.25, 31.76, 50.2 | rgb(37.25, 31.76, 50.2) |
CMYK | 26, 37, 0, 50 | |
HSL | 257.9°, 22.49, 41 | hsl(257.9, 22.49%, 41%) |
HSV | 257.9°, 36.7, 50.2 |
XYZ | 11.558, 9.876, 21.719 |
---|---|
Hunter Lab | 31.426, 10.654, -18.978 |
CIE-LAB | 37.619, 16.598, -24.411 |
CIE-LCH | 37.619, 29.519, 304.213 |
CIE-LUV | 25.78, 36.72, 0, 49.8 |
Web Safe | 666699 |
RGB percent of color #5f5180
CMYK percent of color #5f5180
Text with hexadecimal color #5f5180
This text has a font color of #5f5180
<p style="color:#5f5180">Text here</p>
#5f5180 Background Color
This box has a background color of #5f5180
<div style="background-color:#5f5180">Text here</div>
#5f5180 Border Color
This box has a border color of #5f5180
<div style="border: 4px solid #5f5180">Text here</div>
CSS codes
<p style="color:#5f5180">Text here</p>
<div style="background-color:#5f5180">Text here</div>
<div style="border: 4px solid #5f5180">Text here</div>
#5f5180 Color on white background
This is how a font and box color of #5f5180 will look
on a white background.
#5f5180 Color on black background
This is how a font and box color of #5f5180 hex color will look
on a black background.