In RGB color space, #512fd8 hex color has a red value of 81, a green value of 47 and a blue value of 216.
In CMYK color space (used in color printing), #512fd8 hex color is composed of 62.5% cyan, 78.24% magenta, 0% yellow and 15.29% black.
#512fd8 color has a hue of 252.1 degrees, a saturation of 68.42% and a lightness of 51.6%.
#512fd8 hex color contains mainly BLUE.
The closest web safe color of #512fd8 is #6633cc
#512fd8 hex color has a decimal value of 5320664.
HEX | 512fd8 | #512fd8 |
---|---|---|
RGB | 81, 47, 216 | rgb(81, 47, 216) |
RGB Percent | 31.76, 18.43, 84.71 | rgb(31.76, 18.43, 84.71) |
CMYK | 63, 78, 0, 15 | |
HSL | 252.1°, 68.42, 51.6 | hsl(252.1, 68.42%, 51.6%) |
HSV | 252.1°, 78.2, 84.7 |
XYZ | 16.805, 8.74, 65.767 |
---|---|
Hunter Lab | 29.563, 49.73, -111.202 |
CIE-LAB | 35.479, 58.74, -80.305 |
CIE-LCH | 35.479, 99.495, 306.184 |
CIE-LUV | 62.5, 78.24, 0, 15.29 |
Web Safe | 6633cc |
RGB percent of color #512fd8
CMYK percent of color #512fd8
Text with hexadecimal color #512fd8
This text has a font color of #512fd8
<p style="color:#512fd8">Text here</p>
#512fd8 Background Color
This box has a background color of #512fd8
<div style="background-color:#512fd8">Text here</div>
#512fd8 Border Color
This box has a border color of #512fd8
<div style="border: 4px solid #512fd8">Text here</div>
CSS codes
<p style="color:#512fd8">Text here</p>
<div style="background-color:#512fd8">Text here</div>
<div style="border: 4px solid #512fd8">Text here</div>
#512fd8 Color on white background
This is how a font and box color of #512fd8 will look
on a white background.
#512fd8 Color on black background
This is how a font and box color of #512fd8 hex color will look
on a black background.