In RGB color space, #512ff5 hex color has a red value of 81, a green value of 47 and a blue value of 245.
In CMYK color space (used in color printing), #512ff5 hex color is composed of 66.94% cyan, 80.82% magenta, 0% yellow and 3.92% black.
#512ff5 color has a hue of 250.3 degrees, a saturation of 90.83% and a lightness of 57.3%.
#512ff5 hex color contains mainly BLUE.
The closest web safe color of #512ff5 is #6633ff
#512ff5 hex color has a decimal value of 5320693.
HEX | 512ff5 | #512ff5 |
---|---|---|
RGB | 81, 47, 245 | rgb(81, 47, 245) |
RGB Percent | 31.76, 18.43, 96.08 | rgb(31.76, 18.43, 96.08) |
CMYK | 67, 81, 0, 4 | |
HSL | 250.3°, 90.83, 57.3 | hsl(250.3, 90.83%, 57.3%) |
HSV | 250.3°, 80.8, 96.1 |
XYZ | 20.891, 10.375, 87.288 |
---|---|
Hunter Lab | 32.21, 59.404, -138.125 |
CIE-LAB | 38.507, 66.803, -91.815 |
CIE-LCH | 38.507, 113.546, 306.039 |
CIE-LUV | 66.94, 80.82, 0, 3.92 |
Web Safe | 6633ff |
RGB percent of color #512ff5
CMYK percent of color #512ff5
Text with hexadecimal color #512ff5
This text has a font color of #512ff5
<p style="color:#512ff5">Text here</p>
#512ff5 Background Color
This box has a background color of #512ff5
<div style="background-color:#512ff5">Text here</div>
#512ff5 Border Color
This box has a border color of #512ff5
<div style="border: 4px solid #512ff5">Text here</div>
CSS codes
<p style="color:#512ff5">Text here</p>
<div style="background-color:#512ff5">Text here</div>
<div style="border: 4px solid #512ff5">Text here</div>
#512ff5 Color on white background
This is how a font and box color of #512ff5 will look
on a white background.
#512ff5 Color on black background
This is how a font and box color of #512ff5 hex color will look
on a black background.