In RGB color space, #af21dc hex color has a red value of 175, a green value of 33 and a blue value of 220.
In CMYK color space (used in color printing), #af21dc hex color is composed of 20.45% cyan, 85% magenta, 0% yellow and 13.73% black.
#af21dc color has a hue of 285.6 degrees, a saturation of 73.91% and a lightness of 49.6%.
#af21dc hex color contains mainly BLUE.
The closest web safe color of #af21dc is #9933cc
#af21dc hex color has a decimal value of 11477468.
HEX | af21dc | #af21dc |
---|---|---|
RGB | 175, 33, 220 | rgb(175, 33, 220) |
RGB Percent | 68.63, 12.94, 86.27 | rgb(68.63, 12.94, 86.27) |
CMYK | 20, 85, 0, 14 | |
HSL | 285.6°, 73.91, 49.6 | hsl(285.6, 73.91%, 49.6%) |
HSV | 285.6°, 85, 86.3 |
XYZ | 31.141, 15.369, 69.035 |
---|---|
Hunter Lab | 39.203, 73.185, -76.964 |
CIE-LAB | 46.136, 76.869, -64.687 |
CIE-LCH | 46.136, 100.465, 319.919 |
CIE-LUV | 20.45, 85, 0, 13.73 |
Web Safe | 9933cc |
RGB percent of color #af21dc
CMYK percent of color #af21dc
Text with hexadecimal color #af21dc
This text has a font color of #af21dc
<p style="color:#af21dc">Text here</p>
#af21dc Background Color
This box has a background color of #af21dc
<div style="background-color:#af21dc">Text here</div>
#af21dc Border Color
This box has a border color of #af21dc
<div style="border: 4px solid #af21dc">Text here</div>
CSS codes
<p style="color:#af21dc">Text here</p>
<div style="background-color:#af21dc">Text here</div>
<div style="border: 4px solid #af21dc">Text here</div>
#af21dc Color on white background
This is how a font and box color of #af21dc will look
on a white background.
#af21dc Color on black background
This is how a font and box color of #af21dc hex color will look
on a black background.