In RGB color space, #5c2798 hex color has a red value of 92, a green value of 39 and a blue value of 152.
In CMYK color space (used in color printing), #5c2798 hex color is composed of 39.47% cyan, 74.34% magenta, 0% yellow and 40.39% black.
#5c2798 color has a hue of 268.1 degrees, a saturation of 59.16% and a lightness of 37.5%.
#5c2798 hex color contains mainly BLUE.
The closest web safe color of #5c2798 is #663399
#5c2798 hex color has a decimal value of 6039448.
HEX | 5c2798 | #5c2798 |
---|---|---|
RGB | 92, 39, 152 | rgb(92, 39, 152) |
RGB Percent | 36.08, 15.29, 59.61 | rgb(36.08, 15.29, 59.61) |
CMYK | 39, 74, 0, 40 | |
HSL | 268.1°, 59.16, 37.5 | hsl(268.1, 59.16%, 37.5%) |
HSV | 268.1°, 74.3, 59.6 |
XYZ | 10.807, 5.993, 30.293 |
---|---|
Hunter Lab | 24.481, 35.958, -56.231 |
CIE-LAB | 29.395, 46.561, -52.297 |
CIE-LCH | 29.395, 70.021, 311.679 |
CIE-LUV | 39.47, 74.34, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5c2798
CMYK percent of color #5c2798
Text with hexadecimal color #5c2798
This text has a font color of #5c2798
<p style="color:#5c2798">Text here</p>
#5c2798 Background Color
This box has a background color of #5c2798
<div style="background-color:#5c2798">Text here</div>
#5c2798 Border Color
This box has a border color of #5c2798
<div style="border: 4px solid #5c2798">Text here</div>
CSS codes
<p style="color:#5c2798">Text here</p>
<div style="background-color:#5c2798">Text here</div>
<div style="border: 4px solid #5c2798">Text here</div>
#5c2798 Color on white background
This is how a font and box color of #5c2798 will look
on a white background.
#5c2798 Color on black background
This is how a font and box color of #5c2798 hex color will look
on a black background.