In RGB color space, #512db2 hex color has a red value of 81, a green value of 45 and a blue value of 178.
In CMYK color space (used in color printing), #512db2 hex color is composed of 54.49% cyan, 74.72% magenta, 0% yellow and 30.2% black.
#512db2 color has a hue of 256.2 degrees, a saturation of 59.64% and a lightness of 43.7%.
#512db2 hex color contains mainly BLUE.
The closest web safe color of #512db2 is #663399
#512db2 hex color has a decimal value of 5320114.
HEX | 512db2 | #512db2 |
---|---|---|
RGB | 81, 45, 178 | rgb(81, 45, 178) |
RGB Percent | 31.76, 17.65, 69.8 | rgb(31.76, 17.65, 69.8) |
CMYK | 54, 75, 0, 30 | |
HSL | 256.2°, 59.64, 43.7 | hsl(256.2, 59.64%, 43.7%) |
HSV | 256.2°, 74.7, 69.8 |
XYZ | 12.368, 6.84, 42.788 |
---|---|
Hunter Lab | 26.153, 38.645, -78.693 |
CIE-LAB | 31.44, 48.889, -64.7 |
CIE-LCH | 31.44, 81.094, 307.076 |
CIE-LUV | 54.49, 74.72, 0, 30.2 |
Web Safe | 663399 |
RGB percent of color #512db2
CMYK percent of color #512db2
Text with hexadecimal color #512db2
This text has a font color of #512db2
<p style="color:#512db2">Text here</p>
#512db2 Background Color
This box has a background color of #512db2
<div style="background-color:#512db2">Text here</div>
#512db2 Border Color
This box has a border color of #512db2
<div style="border: 4px solid #512db2">Text here</div>
CSS codes
<p style="color:#512db2">Text here</p>
<div style="background-color:#512db2">Text here</div>
<div style="border: 4px solid #512db2">Text here</div>
#512db2 Color on white background
This is how a font and box color of #512db2 will look
on a white background.
#512db2 Color on black background
This is how a font and box color of #512db2 hex color will look
on a black background.