In RGB color space, #5f486c hex color has a red value of 95, a green value of 72 and a blue value of 108.
In CMYK color space (used in color printing), #5f486c hex color is composed of 12.04% cyan, 33.33% magenta, 0% yellow and 57.65% black.
#5f486c color has a hue of 278.3 degrees, a saturation of 20% and a lightness of 35.3%.
#5f486c hex color contains mainly BLUE.
The closest web safe color of #5f486c is #663366
#5f486c hex color has a decimal value of 6244460.
HEX | 5f486c | #5f486c |
---|---|---|
RGB | 95, 72, 108 | rgb(95, 72, 108) |
RGB Percent | 37.25, 28.24, 42.35 | rgb(37.25, 28.24, 42.35) |
CMYK | 12, 33, 0, 58 | |
HSL | 278.3°, 20, 35.3 | hsl(278.3, 20%, 35.3%) |
HSV | 278.3°, 33.3, 42.4 |
XYZ | 9.743, 8.15, 15.247 |
---|---|
Hunter Lab | 28.548, 10.96, -11.682 |
CIE-LAB | 34.293, 17.221, -17.145 |
CIE-LCH | 34.293, 24.3, 315.127 |
CIE-LUV | 12.04, 33.33, 0, 57.65 |
Web Safe | 663366 |
RGB percent of color #5f486c
CMYK percent of color #5f486c
Text with hexadecimal color #5f486c
This text has a font color of #5f486c
<p style="color:#5f486c">Text here</p>
#5f486c Background Color
This box has a background color of #5f486c
<div style="background-color:#5f486c">Text here</div>
#5f486c Border Color
This box has a border color of #5f486c
<div style="border: 4px solid #5f486c">Text here</div>
CSS codes
<p style="color:#5f486c">Text here</p>
<div style="background-color:#5f486c">Text here</div>
<div style="border: 4px solid #5f486c">Text here</div>
#5f486c Color on white background
This is how a font and box color of #5f486c will look
on a white background.
#5f486c Color on black background
This is how a font and box color of #5f486c hex color will look
on a black background.