In RGB color space, #5021af hex color has a red value of 80, a green value of 33 and a blue value of 175.
In CMYK color space (used in color printing), #5021af hex color is composed of 54.29% cyan, 81.14% magenta, 0% yellow and 31.37% black.
#5021af color has a hue of 259.9 degrees, a saturation of 68.27% and a lightness of 40.8%.
#5021af hex color contains mainly BLUE.
The closest web safe color of #5021af is #663399
#5021af hex color has a decimal value of 5251503.
HEX | 5021af | #5021af |
---|---|---|
RGB | 80, 33, 175 | rgb(80, 33, 175) |
RGB Percent | 31.37, 12.94, 68.63 | rgb(31.37, 12.94, 68.63) |
CMYK | 54, 81, 0, 31 | |
HSL | 259.9°, 68.27, 40.8 | hsl(259.9, 68.27%, 40.8%) |
HSV | 259.9°, 81.1, 68.6 |
XYZ | 11.59, 5.888, 41.083 |
---|---|
Hunter Lab | 24.265, 42.794, -83.397 |
CIE-LAB | 29.128, 53.425, -66.714 |
CIE-LCH | 29.128, 85.469, 308.688 |
CIE-LUV | 54.29, 81.14, 0, 31.37 |
Web Safe | 663399 |
RGB percent of color #5021af
CMYK percent of color #5021af
Text with hexadecimal color #5021af
This text has a font color of #5021af
<p style="color:#5021af">Text here</p>
#5021af Background Color
This box has a background color of #5021af
<div style="background-color:#5021af">Text here</div>
#5021af Border Color
This box has a border color of #5021af
<div style="border: 4px solid #5021af">Text here</div>
CSS codes
<p style="color:#5021af">Text here</p>
<div style="background-color:#5021af">Text here</div>
<div style="border: 4px solid #5021af">Text here</div>
#5021af Color on white background
This is how a font and box color of #5021af will look
on a white background.
#5021af Color on black background
This is how a font and box color of #5021af hex color will look
on a black background.