In RGB color space, #af21d8 hex color has a red value of 175, a green value of 33 and a blue value of 216.
In CMYK color space (used in color printing), #af21d8 hex color is composed of 18.98% cyan, 84.72% magenta, 0% yellow and 15.29% black.
#af21d8 color has a hue of 286.6 degrees, a saturation of 73.49% and a lightness of 48.8%.
#af21d8 hex color contains mainly BLUE.
The closest web safe color of #af21d8 is #9933cc
#af21d8 hex color has a decimal value of 11477464.
HEX | af21d8 | #af21d8 |
---|---|---|
RGB | 175, 33, 216 | rgb(175, 33, 216) |
RGB Percent | 68.63, 12.94, 84.71 | rgb(68.63, 12.94, 84.71) |
CMYK | 19, 85, 0, 15 | |
HSL | 286.6°, 73.49, 48.8 | hsl(286.6, 73.49%, 48.8%) |
HSV | 286.6°, 84.7, 84.7 |
XYZ | 30.618, 15.16, 66.278 |
---|---|
Hunter Lab | 38.936, 72.229, -73.67 |
CIE-LAB | 45.853, 76.148, -62.856 |
CIE-LCH | 45.853, 98.739, 320.462 |
CIE-LUV | 18.98, 84.72, 0, 15.29 |
Web Safe | 9933cc |
RGB percent of color #af21d8
CMYK percent of color #af21d8
Text with hexadecimal color #af21d8
This text has a font color of #af21d8
<p style="color:#af21d8">Text here</p>
#af21d8 Background Color
This box has a background color of #af21d8
<div style="background-color:#af21d8">Text here</div>
#af21d8 Border Color
This box has a border color of #af21d8
<div style="border: 4px solid #af21d8">Text here</div>
CSS codes
<p style="color:#af21d8">Text here</p>
<div style="background-color:#af21d8">Text here</div>
<div style="border: 4px solid #af21d8">Text here</div>
#af21d8 Color on white background
This is how a font and box color of #af21d8 will look
on a white background.
#af21d8 Color on black background
This is how a font and box color of #af21d8 hex color will look
on a black background.