In RGB color space, #5f0798 hex color has a red value of 95, a green value of 7 and a blue value of 152.
In CMYK color space (used in color printing), #5f0798 hex color is composed of 37.5% cyan, 95.39% magenta, 0% yellow and 40.39% black.
#5f0798 color has a hue of 276.4 degrees, a saturation of 91.19% and a lightness of 31.2%.
#5f0798 hex color contains mainly BLUE.
The closest web safe color of #5f0798 is #660099
#5f0798 hex color has a decimal value of 6227864.
HEX | 5f0798 | #5f0798 |
---|---|---|
RGB | 95, 7, 152 | rgb(95, 7, 152) |
RGB Percent | 37.25, 2.75, 59.61 | rgb(37.25, 2.75, 59.61) |
CMYK | 38, 95, 0, 40 | |
HSL | 276.4°, 91.19, 31.2 | hsl(276.4, 91.19%, 31.2%) |
HSV | 276.4°, 95.4, 59.6 |
XYZ | 10.463, 4.852, 30.091 |
---|---|
Hunter Lab | 22.027, 46.24, -65.576 |
CIE-LAB | 26.309, 57.265, -57.327 |
CIE-LCH | 26.309, 81.029, 314.969 |
CIE-LUV | 37.5, 95.39, 0, 40.39 |
Web Safe | 660099 |
RGB percent of color #5f0798
CMYK percent of color #5f0798
Text with hexadecimal color #5f0798
This text has a font color of #5f0798
<p style="color:#5f0798">Text here</p>
#5f0798 Background Color
This box has a background color of #5f0798
<div style="background-color:#5f0798">Text here</div>
#5f0798 Border Color
This box has a border color of #5f0798
<div style="border: 4px solid #5f0798">Text here</div>
CSS codes
<p style="color:#5f0798">Text here</p>
<div style="background-color:#5f0798">Text here</div>
<div style="border: 4px solid #5f0798">Text here</div>
#5f0798 Color on white background
This is how a font and box color of #5f0798 will look
on a white background.
#5f0798 Color on black background
This is how a font and box color of #5f0798 hex color will look
on a black background.