In RGB color space, #512792 hex color has a red value of 81, a green value of 39 and a blue value of 146.
In CMYK color space (used in color printing), #512792 hex color is composed of 44.52% cyan, 73.29% magenta, 0% yellow and 42.75% black.
#512792 color has a hue of 263.6 degrees, a saturation of 57.84% and a lightness of 36.3%.
#512792 hex color contains mainly BLUE.
The closest web safe color of #512792 is #663399
#512792 hex color has a decimal value of 5318546.
HEX | 512792 | #512792 |
---|---|---|
RGB | 81, 39, 146 | rgb(81, 39, 146) |
RGB Percent | 31.76, 15.29, 57.25 | rgb(31.76, 15.29, 57.25) |
CMYK | 45, 73, 0, 43 | |
HSL | 263.6°, 57.84, 36.3 | hsl(263.6, 57.84%, 36.3%) |
HSV | 263.6°, 73.3, 57.3 |
XYZ | 9.307, 5.276, 27.722 |
---|---|
Hunter Lab | 22.97, 32.129, -55.479 |
CIE-LAB | 27.507, 42.929, -51.749 |
CIE-LCH | 27.507, 67.237, 309.678 |
CIE-LUV | 44.52, 73.29, 0, 42.75 |
Web Safe | 663399 |
RGB percent of color #512792
CMYK percent of color #512792
Text with hexadecimal color #512792
This text has a font color of #512792
<p style="color:#512792">Text here</p>
#512792 Background Color
This box has a background color of #512792
<div style="background-color:#512792">Text here</div>
#512792 Border Color
This box has a border color of #512792
<div style="border: 4px solid #512792">Text here</div>
CSS codes
<p style="color:#512792">Text here</p>
<div style="background-color:#512792">Text here</div>
<div style="border: 4px solid #512792">Text here</div>
#512792 Color on white background
This is how a font and box color of #512792 will look
on a white background.
#512792 Color on black background
This is how a font and box color of #512792 hex color will look
on a black background.