In RGB color space, #af42e2 hex color has a red value of 175, a green value of 66 and a blue value of 226.
In CMYK color space (used in color printing), #af42e2 hex color is composed of 22.57% cyan, 70.8% magenta, 0% yellow and 11.37% black.
#af42e2 color has a hue of 280.9 degrees, a saturation of 73.39% and a lightness of 57.3%.
#af42e2 hex color contains mainly BLUE.
The closest web safe color of #af42e2 is #9933cc
#af42e2 hex color has a decimal value of 11485922.
HEX | af42e2 | #af42e2 |
---|---|---|
RGB | 175, 66, 226 | rgb(175, 66, 226) |
RGB Percent | 68.63, 25.88, 88.63 | rgb(68.63, 25.88, 88.63) |
CMYK | 23, 71, 0, 11 | |
HSL | 280.9°, 73.39, 57.3 | hsl(280.9, 73.39%, 57.3%) |
HSV | 280.9°, 70.8, 88.6 |
XYZ | 33.355, 18.501, 73.765 |
---|---|
Hunter Lab | 43.013, 63.148, -71.571 |
CIE-LAB | 50.098, 67.771, -61.692 |
CIE-LCH | 50.098, 91.645, 317.688 |
CIE-LUV | 22.57, 70.8, 0, 11.37 |
Web Safe | 9933cc |
RGB percent of color #af42e2
CMYK percent of color #af42e2
Text with hexadecimal color #af42e2
This text has a font color of #af42e2
<p style="color:#af42e2">Text here</p>
#af42e2 Background Color
This box has a background color of #af42e2
<div style="background-color:#af42e2">Text here</div>
#af42e2 Border Color
This box has a border color of #af42e2
<div style="border: 4px solid #af42e2">Text here</div>
CSS codes
<p style="color:#af42e2">Text here</p>
<div style="background-color:#af42e2">Text here</div>
<div style="border: 4px solid #af42e2">Text here</div>
#af42e2 Color on white background
This is how a font and box color of #af42e2 will look
on a white background.
#af42e2 Color on black background
This is how a font and box color of #af42e2 hex color will look
on a black background.