In RGB color space, #512ec8 hex color has a red value of 81, a green value of 46 and a blue value of 200.
In CMYK color space (used in color printing), #512ec8 hex color is composed of 59.5% cyan, 77% magenta, 0% yellow and 21.57% black.
#512ec8 color has a hue of 253.6 degrees, a saturation of 62.6% and a lightness of 48.2%.
#512ec8 hex color contains mainly BLUE.
The closest web safe color of #512ec8 is #6633cc
#512ec8 hex color has a decimal value of 5320392.
HEX | 512ec8 | #512ec8 |
---|---|---|
RGB | 81, 46, 200 | rgb(81, 46, 200) |
RGB Percent | 31.76, 18.04, 78.43 | rgb(31.76, 18.04, 78.43) |
CMYK | 60, 77, 0, 22 | |
HSL | 253.6°, 62.6, 48.2 | hsl(253.6, 62.6%, 48.2%) |
HSV | 253.6°, 77, 78.4 |
XYZ | 14.796, 7.873, 55.383 |
---|---|
Hunter Lab | 28.059, 45.024, -97.386 |
CIE-LAB | 33.717, 54.674, -73.931 |
CIE-LCH | 33.717, 91.951, 306.484 |
CIE-LUV | 59.5, 77, 0, 21.57 |
Web Safe | 6633cc |
RGB percent of color #512ec8
CMYK percent of color #512ec8
Text with hexadecimal color #512ec8
This text has a font color of #512ec8
<p style="color:#512ec8">Text here</p>
#512ec8 Background Color
This box has a background color of #512ec8
<div style="background-color:#512ec8">Text here</div>
#512ec8 Border Color
This box has a border color of #512ec8
<div style="border: 4px solid #512ec8">Text here</div>
CSS codes
<p style="color:#512ec8">Text here</p>
<div style="background-color:#512ec8">Text here</div>
<div style="border: 4px solid #512ec8">Text here</div>
#512ec8 Color on white background
This is how a font and box color of #512ec8 will look
on a white background.
#512ec8 Color on black background
This is how a font and box color of #512ec8 hex color will look
on a black background.