In RGB color space, #512788 hex color has a red value of 81, a green value of 39 and a blue value of 136.
In CMYK color space (used in color printing), #512788 hex color is composed of 40.44% cyan, 71.32% magenta, 0% yellow and 46.67% black.
#512788 color has a hue of 266 degrees, a saturation of 55.43% and a lightness of 34.3%.
#512788 hex color contains mainly BLUE.
The closest web safe color of #512788 is #663399
#512788 hex color has a decimal value of 5318536.
HEX | 512788 | #512788 |
---|---|---|
RGB | 81, 39, 136 | rgb(81, 39, 136) |
RGB Percent | 31.76, 15.29, 53.33 | rgb(31.76, 15.29, 53.33) |
CMYK | 40, 71, 0, 47 | |
HSL | 266°, 55.43, 34.3 | hsl(266, 55.43%, 34.3%) |
HSV | 266°, 71.3, 53.3 |
XYZ | 8.563, 4.978, 23.802 |
---|---|
Hunter Lab | 22.311, 29.462, -47.633 |
CIE-LAB | 26.672, 40.216, -46.907 |
CIE-LCH | 26.672, 61.787, 310.608 |
CIE-LUV | 40.44, 71.32, 0, 46.67 |
Web Safe | 663399 |
RGB percent of color #512788
CMYK percent of color #512788
Text with hexadecimal color #512788
This text has a font color of #512788
<p style="color:#512788">Text here</p>
#512788 Background Color
This box has a background color of #512788
<div style="background-color:#512788">Text here</div>
#512788 Border Color
This box has a border color of #512788
<div style="border: 4px solid #512788">Text here</div>
CSS codes
<p style="color:#512788">Text here</p>
<div style="background-color:#512788">Text here</div>
<div style="border: 4px solid #512788">Text here</div>
#512788 Color on white background
This is how a font and box color of #512788 will look
on a white background.
#512788 Color on black background
This is how a font and box color of #512788 hex color will look
on a black background.