In RGB color space, #7f5798 hex color has a red value of 127, a green value of 87 and a blue value of 152.
In CMYK color space (used in color printing), #7f5798 hex color is composed of 16.45% cyan, 42.76% magenta, 0% yellow and 40.39% black.
#7f5798 color has a hue of 276.9 degrees, a saturation of 27.2% and a lightness of 46.9%.
#7f5798 hex color contains mainly BLUE.
The closest web safe color of #7f5798 is #666699
#7f5798 hex color has a decimal value of 8345496.
HEX | 7f5798 | #7f5798 |
---|---|---|
RGB | 127, 87, 152 | rgb(127, 87, 152) |
RGB Percent | 49.8, 34.12, 59.61 | rgb(49.8, 34.12, 59.61) |
CMYK | 16, 43, 0, 40 | |
HSL | 276.9°, 27.2, 46.9 | hsl(276.9, 27.2%, 46.9%) |
HSV | 276.9°, 42.8, 59.6 |
XYZ | 17.828, 13.595, 31.39 |
---|---|
Hunter Lab | 36.871, 21.783, -24.666 |
CIE-LAB | 43.646, 29.118, -29.283 |
CIE-LCH | 43.646, 41.296, 314.838 |
CIE-LUV | 16.45, 42.76, 0, 40.39 |
Web Safe | 666699 |
RGB percent of color #7f5798
CMYK percent of color #7f5798
Text with hexadecimal color #7f5798
This text has a font color of #7f5798
<p style="color:#7f5798">Text here</p>
#7f5798 Background Color
This box has a background color of #7f5798
<div style="background-color:#7f5798">Text here</div>
#7f5798 Border Color
This box has a border color of #7f5798
<div style="border: 4px solid #7f5798">Text here</div>
CSS codes
<p style="color:#7f5798">Text here</p>
<div style="background-color:#7f5798">Text here</div>
<div style="border: 4px solid #7f5798">Text here</div>
#7f5798 Color on white background
This is how a font and box color of #7f5798 will look
on a white background.
#7f5798 Color on black background
This is how a font and box color of #7f5798 hex color will look
on a black background.