In RGB color space, #5f2154 hex color has a red value of 95, a green value of 33 and a blue value of 84.
In CMYK color space (used in color printing), #5f2154 hex color is composed of 0% cyan, 65.26% magenta, 11.58% yellow and 62.75% black.
#5f2154 color has a hue of 310.6 degrees, a saturation of 48.44% and a lightness of 25.1%.
#5f2154 hex color contains mainly RED.
The closest web safe color of #5f2154 is #663366
#5f2154 hex color has a decimal value of 6234452.
HEX | 5f2154 | #5f2154 |
---|---|---|
RGB | 95, 33, 84 | rgb(95, 33, 84) |
RGB Percent | 37.25, 12.94, 32.94 | rgb(37.25, 12.94, 32.94) |
CMYK | 0, 65, 12, 63 | |
HSL | 310.6°, 48.44, 25.1 | hsl(310.6, 48.44%, 25.1%) |
HSV | 310.6°, 65.3, 37.3 |
XYZ | 6.863, 4.161, 8.829 |
---|---|
Hunter Lab | 20.399, 24.358, -11.383 |
CIE-LAB | 24.197, 34.945, -17.261 |
CIE-LCH | 24.197, 38.976, 333.713 |
CIE-LUV | 0, 65.26, 11.58, 62.75 |
Web Safe | 663366 |
RGB percent of color #5f2154
CMYK percent of color #5f2154
Text with hexadecimal color #5f2154
This text has a font color of #5f2154
<p style="color:#5f2154">Text here</p>
#5f2154 Background Color
This box has a background color of #5f2154
<div style="background-color:#5f2154">Text here</div>
#5f2154 Border Color
This box has a border color of #5f2154
<div style="border: 4px solid #5f2154">Text here</div>
CSS codes
<p style="color:#5f2154">Text here</p>
<div style="background-color:#5f2154">Text here</div>
<div style="border: 4px solid #5f2154">Text here</div>
#5f2154 Color on white background
This is how a font and box color of #5f2154 will look
on a white background.
#5f2154 Color on black background
This is how a font and box color of #5f2154 hex color will look
on a black background.