In RGB color space, #512da8 hex color has a red value of 81, a green value of 45 and a blue value of 168.
In CMYK color space (used in color printing), #512da8 hex color is composed of 51.79% cyan, 73.21% magenta, 0% yellow and 34.12% black.
#512da8 color has a hue of 257.6 degrees, a saturation of 57.75% and a lightness of 41.8%.
#512da8 hex color contains mainly BLUE.
The closest web safe color of #512da8 is #663399
#512da8 hex color has a decimal value of 5320104.
HEX | 512da8 | #512da8 |
---|---|---|
RGB | 81, 45, 168 | rgb(81, 45, 168) |
RGB Percent | 31.76, 17.65, 65.88 | rgb(31.76, 17.65, 65.88) |
CMYK | 52, 73, 0, 34 | |
HSL | 257.6°, 57.75, 41.8 | hsl(257.6, 57.75%, 41.8%) |
HSV | 257.6°, 73.2, 65.9 |
XYZ | 11.4, 6.453, 37.691 |
---|---|
Hunter Lab | 25.403, 35.651, -70.189 |
CIE-LAB | 30.528, 46.03, -60.208 |
CIE-LCH | 30.528, 75.788, 307.399 |
CIE-LUV | 51.79, 73.21, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #512da8
CMYK percent of color #512da8
Text with hexadecimal color #512da8
This text has a font color of #512da8
<p style="color:#512da8">Text here</p>
#512da8 Background Color
This box has a background color of #512da8
<div style="background-color:#512da8">Text here</div>
#512da8 Border Color
This box has a border color of #512da8
<div style="border: 4px solid #512da8">Text here</div>
CSS codes
<p style="color:#512da8">Text here</p>
<div style="background-color:#512da8">Text here</div>
<div style="border: 4px solid #512da8">Text here</div>
#512da8 Color on white background
This is how a font and box color of #512da8 will look
on a white background.
#512da8 Color on black background
This is how a font and box color of #512da8 hex color will look
on a black background.