In RGB color space, #512afa hex color has a red value of 81, a green value of 42 and a blue value of 250.
In CMYK color space (used in color printing), #512afa hex color is composed of 67.6% cyan, 83.2% magenta, 0% yellow and 1.96% black.
#512afa color has a hue of 251.3 degrees, a saturation of 95.41% and a lightness of 57.3%.
#512afa hex color contains mainly BLUE.
The closest web safe color of #512afa is #6633ff
#512afa hex color has a decimal value of 5319418.
HEX | 512afa | #512afa |
---|---|---|
RGB | 81, 42, 250 | rgb(81, 42, 250) |
RGB Percent | 31.76, 16.47, 98.04 | rgb(31.76, 16.47, 98.04) |
CMYK | 68, 83, 0, 2 | |
HSL | 251.3°, 95.41, 57.3 | hsl(251.3, 95.41%, 57.3%) |
HSV | 251.3°, 83.2, 98 |
XYZ | 21.477, 10.307, 91.3 |
---|---|
Hunter Lab | 32.105, 63.228, -146.138 |
CIE-LAB | 38.388, 70.112, -94.824 |
CIE-LCH | 38.388, 117.929, 306.479 |
CIE-LUV | 67.6, 83.2, 0, 1.96 |
Web Safe | 6633ff |
RGB percent of color #512afa
CMYK percent of color #512afa
Text with hexadecimal color #512afa
This text has a font color of #512afa
<p style="color:#512afa">Text here</p>
#512afa Background Color
This box has a background color of #512afa
<div style="background-color:#512afa">Text here</div>
#512afa Border Color
This box has a border color of #512afa
<div style="border: 4px solid #512afa">Text here</div>
CSS codes
<p style="color:#512afa">Text here</p>
<div style="background-color:#512afa">Text here</div>
<div style="border: 4px solid #512afa">Text here</div>
#512afa Color on white background
This is how a font and box color of #512afa will look
on a white background.
#512afa Color on black background
This is how a font and box color of #512afa hex color will look
on a black background.