In RGB color space, #512eb8 hex color has a red value of 81, a green value of 46 and a blue value of 184.
In CMYK color space (used in color printing), #512eb8 hex color is composed of 55.98% cyan, 75% magenta, 0% yellow and 27.84% black.
#512eb8 color has a hue of 255.2 degrees, a saturation of 60% and a lightness of 45.1%.
#512eb8 hex color contains mainly BLUE.
The closest web safe color of #512eb8 is #6633cc
#512eb8 hex color has a decimal value of 5320376.
HEX | 512eb8 | #512eb8 |
---|---|---|
RGB | 81, 46, 184 | rgb(81, 46, 184) |
RGB Percent | 31.76, 18.04, 72.16 | rgb(31.76, 18.04, 72.16) |
CMYK | 56, 75, 0, 28 | |
HSL | 255.2°, 60, 45.1 | hsl(255.2, 60%, 45.1%) |
HSV | 255.2°, 75, 72.2 |
XYZ | 13.022, 7.164, 46.044 |
---|---|
Hunter Lab | 26.766, 40.004, -83.259 |
CIE-LAB | 32.177, 50.099, -67.054 |
CIE-LCH | 32.177, 83.703, 306.765 |
CIE-LUV | 55.98, 75, 0, 27.84 |
Web Safe | 6633cc |
RGB percent of color #512eb8
CMYK percent of color #512eb8
Text with hexadecimal color #512eb8
This text has a font color of #512eb8
<p style="color:#512eb8">Text here</p>
#512eb8 Background Color
This box has a background color of #512eb8
<div style="background-color:#512eb8">Text here</div>
#512eb8 Border Color
This box has a border color of #512eb8
<div style="border: 4px solid #512eb8">Text here</div>
CSS codes
<p style="color:#512eb8">Text here</p>
<div style="background-color:#512eb8">Text here</div>
<div style="border: 4px solid #512eb8">Text here</div>
#512eb8 Color on white background
This is how a font and box color of #512eb8 will look
on a white background.
#512eb8 Color on black background
This is how a font and box color of #512eb8 hex color will look
on a black background.