In RGB color space, #512db8 hex color has a red value of 81, a green value of 45 and a blue value of 184.
In CMYK color space (used in color printing), #512db8 hex color is composed of 55.98% cyan, 75.54% magenta, 0% yellow and 27.84% black.
#512db8 color has a hue of 255.5 degrees, a saturation of 60.7% and a lightness of 44.9%.
#512db8 hex color contains mainly BLUE.
The closest web safe color of #512db8 is #6633cc
#512db8 hex color has a decimal value of 5320120.
HEX | 512db8 | #512db8 |
---|---|---|
RGB | 81, 45, 184 | rgb(81, 45, 184) |
RGB Percent | 31.76, 17.65, 72.16 | rgb(31.76, 17.65, 72.16) |
CMYK | 56, 76, 0, 28 | |
HSL | 255.5°, 60.7, 44.9 | hsl(255.5, 60.7%, 44.9%) |
HSV | 255.5°, 75.5, 72.2 |
XYZ | 12.983, 7.087, 46.031 |
---|---|
Hunter Lab | 26.621, 40.465, -83.883 |
CIE-LAB | 32.004, 50.589, -67.339 |
CIE-LCH | 32.004, 84.225, 306.916 |
CIE-LUV | 55.98, 75.54, 0, 27.84 |
Web Safe | 6633cc |
RGB percent of color #512db8
CMYK percent of color #512db8
Text with hexadecimal color #512db8
This text has a font color of #512db8
<p style="color:#512db8">Text here</p>
#512db8 Background Color
This box has a background color of #512db8
<div style="background-color:#512db8">Text here</div>
#512db8 Border Color
This box has a border color of #512db8
<div style="border: 4px solid #512db8">Text here</div>
CSS codes
<p style="color:#512db8">Text here</p>
<div style="background-color:#512db8">Text here</div>
<div style="border: 4px solid #512db8">Text here</div>
#512db8 Color on white background
This is how a font and box color of #512db8 will look
on a white background.
#512db8 Color on black background
This is how a font and box color of #512db8 hex color will look
on a black background.