In RGB color space, #510542 hex color has a red value of 81, a green value of 5 and a blue value of 66.
In CMYK color space (used in color printing), #510542 hex color is composed of 0% cyan, 93.83% magenta, 18.52% yellow and 68.24% black.
#510542 color has a hue of 311.8 degrees, a saturation of 88.37% and a lightness of 16.9%.
#510542 hex color contains mainly RED.
The closest web safe color of #510542 is #660033
#510542 hex color has a decimal value of 5309762.
HEX | 510542 | #510542 |
---|---|---|
RGB | 81, 5, 66 | rgb(81, 5, 66) |
RGB Percent | 31.76, 1.96, 25.88 | rgb(31.76, 1.96, 25.88) |
CMYK | 0, 94, 19, 68 | |
HSL | 311.8°, 88.37, 16.9 | hsl(311.8, 88.37%, 16.9%) |
HSV | 311.8°, 93.8, 31.8 |
XYZ | 4.431, 2.251, 5.355 |
---|---|
Hunter Lab | 15.003, 26.461, -10.659 |
CIE-LAB | 16.753, 38.776, -16.806 |
CIE-LCH | 16.753, 42.261, 336.567 |
CIE-LUV | 0, 93.83, 18.52, 68.24 |
Web Safe | 660033 |
RGB percent of color #510542
CMYK percent of color #510542
Text with hexadecimal color #510542
This text has a font color of #510542
<p style="color:#510542">Text here</p>
#510542 Background Color
This box has a background color of #510542
<div style="background-color:#510542">Text here</div>
#510542 Border Color
This box has a border color of #510542
<div style="border: 4px solid #510542">Text here</div>
CSS codes
<p style="color:#510542">Text here</p>
<div style="background-color:#510542">Text here</div>
<div style="border: 4px solid #510542">Text here</div>
#510542 Color on white background
This is how a font and box color of #510542 will look
on a white background.
#510542 Color on black background
This is how a font and box color of #510542 hex color will look
on a black background.