In RGB color space, #5f5270 hex color has a red value of 95, a green value of 82 and a blue value of 112.
In CMYK color space (used in color printing), #5f5270 hex color is composed of 15.18% cyan, 26.79% magenta, 0% yellow and 56.08% black.
#5f5270 color has a hue of 266 degrees, a saturation of 15.46% and a lightness of 38%.
#5f5270 hex color contains mainly BLUE.
The closest web safe color of #5f5270 is #666666
#5f5270 hex color has a decimal value of 6247024.
HEX | 5f5270 | #5f5270 |
---|---|---|
RGB | 95, 82, 112 | rgb(95, 82, 112) |
RGB Percent | 37.25, 32.16, 43.92 | rgb(37.25, 32.16, 43.92) |
CMYK | 15, 27, 0, 56 | |
HSL | 266°, 15.46, 38 | hsl(266, 15.46%, 38%) |
HSV | 266°, 26.8, 43.9 |
XYZ | 10.661, 9.637, 16.628 |
---|---|
Hunter Lab | 31.044, 6.975, -10.027 |
CIE-LAB | 37.183, 11.896, -15.208 |
CIE-LCH | 37.183, 19.308, 308.033 |
CIE-LUV | 15.18, 26.79, 0, 56.08 |
Web Safe | 666666 |
RGB percent of color #5f5270
CMYK percent of color #5f5270
Text with hexadecimal color #5f5270
This text has a font color of #5f5270
<p style="color:#5f5270">Text here</p>
#5f5270 Background Color
This box has a background color of #5f5270
<div style="background-color:#5f5270">Text here</div>
#5f5270 Border Color
This box has a border color of #5f5270
<div style="border: 4px solid #5f5270">Text here</div>
CSS codes
<p style="color:#5f5270">Text here</p>
<div style="background-color:#5f5270">Text here</div>
<div style="border: 4px solid #5f5270">Text here</div>
#5f5270 Color on white background
This is how a font and box color of #5f5270 will look
on a white background.
#5f5270 Color on black background
This is how a font and box color of #5f5270 hex color will look
on a black background.