In RGB color space, #5f21dc hex color has a red value of 95, a green value of 33 and a blue value of 220.
In CMYK color space (used in color printing), #5f21dc hex color is composed of 56.82% cyan, 85% magenta, 0% yellow and 13.73% black.
#5f21dc color has a hue of 259.9 degrees, a saturation of 73.91% and a lightness of 49.6%.
#5f21dc hex color contains mainly BLUE.
The closest web safe color of #5f21dc is #6633cc
#5f21dc hex color has a decimal value of 6234588.
HEX | 5f21dc | #5f21dc |
---|---|---|
RGB | 95, 33, 220 | rgb(95, 33, 220) |
RGB Percent | 37.25, 12.94, 86.27 | rgb(37.25, 12.94, 86.27) |
CMYK | 57, 85, 0, 14 | |
HSL | 259.9°, 73.91, 49.6 | hsl(259.9, 73.91%, 49.6%) |
HSV | 259.9°, 85, 86.3 |
XYZ | 18.181, 8.688, 68.429 |
---|---|
Hunter Lab | 29.475, 58.52, -117.013 |
CIE-LAB | 35.377, 66.641, -82.733 |
CIE-LCH | 35.377, 106.235, 308.851 |
CIE-LUV | 56.82, 85, 0, 13.73 |
Web Safe | 6633cc |
RGB percent of color #5f21dc
CMYK percent of color #5f21dc
Text with hexadecimal color #5f21dc
This text has a font color of #5f21dc
<p style="color:#5f21dc">Text here</p>
#5f21dc Background Color
This box has a background color of #5f21dc
<div style="background-color:#5f21dc">Text here</div>
#5f21dc Border Color
This box has a border color of #5f21dc
<div style="border: 4px solid #5f21dc">Text here</div>
CSS codes
<p style="color:#5f21dc">Text here</p>
<div style="background-color:#5f21dc">Text here</div>
<div style="border: 4px solid #5f21dc">Text here</div>
#5f21dc Color on white background
This is how a font and box color of #5f21dc will look
on a white background.
#5f21dc Color on black background
This is how a font and box color of #5f21dc hex color will look
on a black background.