In RGB color space, #5f0158 hex color has a red value of 95, a green value of 1 and a blue value of 88.
In CMYK color space (used in color printing), #5f0158 hex color is composed of 0% cyan, 98.95% magenta, 7.37% yellow and 62.75% black.
#5f0158 color has a hue of 304.5 degrees, a saturation of 97.92% and a lightness of 18.8%.
#5f0158 hex color contains mainly RED.
The closest web safe color of #5f0158 is #660066
#5f0158 hex color has a decimal value of 6226264.
HEX | 5f0158 | #5f0158 |
---|---|---|
RGB | 95, 1, 88 | rgb(95, 1, 88) |
RGB Percent | 37.25, 0.39, 34.51 | rgb(37.25, 0.39, 34.51) |
CMYK | 0, 99, 7, 63 | |
HSL | 304.5°, 97.92, 18.8 | hsl(304.5, 97.92%, 18.8%) |
HSV | 304.5°, 98.9, 37.3 |
XYZ | 6.492, 3.159, 9.5 |
---|---|
Hunter Lab | 17.774, 34.095, -19.249 |
CIE-LAB | 20.67, 46.326, -25.482 |
CIE-LCH | 20.67, 52.872, 331.187 |
CIE-LUV | 0, 98.95, 7.37, 62.75 |
Web Safe | 660066 |
RGB percent of color #5f0158
CMYK percent of color #5f0158
Text with hexadecimal color #5f0158
This text has a font color of #5f0158
<p style="color:#5f0158">Text here</p>
#5f0158 Background Color
This box has a background color of #5f0158
<div style="background-color:#5f0158">Text here</div>
#5f0158 Border Color
This box has a border color of #5f0158
<div style="border: 4px solid #5f0158">Text here</div>
CSS codes
<p style="color:#5f0158">Text here</p>
<div style="background-color:#5f0158">Text here</div>
<div style="border: 4px solid #5f0158">Text here</div>
#5f0158 Color on white background
This is how a font and box color of #5f0158 will look
on a white background.
#5f0158 Color on black background
This is how a font and box color of #5f0158 hex color will look
on a black background.