In RGB color space, #af21d4 hex color has a red value of 175, a green value of 33 and a blue value of 212.
In CMYK color space (used in color printing), #af21d4 hex color is composed of 17.45% cyan, 84.43% magenta, 0% yellow and 16.86% black.
#af21d4 color has a hue of 287.6 degrees, a saturation of 73.06% and a lightness of 48%.
#af21d4 hex color contains mainly BLUE.
The closest web safe color of #af21d4 is #9933cc
#af21d4 hex color has a decimal value of 11477460.
HEX | af21d4 | #af21d4 |
---|---|---|
RGB | 175, 33, 212 | rgb(175, 33, 212) |
RGB Percent | 68.63, 12.94, 83.14 | rgb(68.63, 12.94, 83.14) |
CMYK | 17, 84, 0, 17 | |
HSL | 287.6°, 73.06, 48 | hsl(287.6, 73.06%, 48%) |
HSV | 287.6°, 84.4, 83.1 |
XYZ | 30.107, 14.955, 63.587 |
---|---|
Hunter Lab | 38.672, 71.292, -70.419 |
CIE-LAB | 45.573, 75.438, -61.013 |
CIE-LCH | 45.573, 97.023, 321.035 |
CIE-LUV | 17.45, 84.43, 0, 16.86 |
Web Safe | 9933cc |
RGB percent of color #af21d4
CMYK percent of color #af21d4
Text with hexadecimal color #af21d4
This text has a font color of #af21d4
<p style="color:#af21d4">Text here</p>
#af21d4 Background Color
This box has a background color of #af21d4
<div style="background-color:#af21d4">Text here</div>
#af21d4 Border Color
This box has a border color of #af21d4
<div style="border: 4px solid #af21d4">Text here</div>
CSS codes
<p style="color:#af21d4">Text here</p>
<div style="background-color:#af21d4">Text here</div>
<div style="border: 4px solid #af21d4">Text here</div>
#af21d4 Color on white background
This is how a font and box color of #af21d4 will look
on a white background.
#af21d4 Color on black background
This is how a font and box color of #af21d4 hex color will look
on a black background.