In RGB color space, #510940 hex color has a red value of 81, a green value of 9 and a blue value of 64.
In CMYK color space (used in color printing), #510940 hex color is composed of 0% cyan, 88.89% magenta, 20.99% yellow and 68.24% black.
#510940 color has a hue of 314.2 degrees, a saturation of 80% and a lightness of 17.6%.
#510940 hex color contains mainly RED.
The closest web safe color of #510940 is #660033
#510940 hex color has a decimal value of 5310784.
HEX | 510940 | #510940 |
---|---|---|
RGB | 81, 9, 64 | rgb(81, 9, 64) |
RGB Percent | 31.76, 3.53, 25.1 | rgb(31.76, 3.53, 25.1) |
CMYK | 0, 89, 21, 68 | |
HSL | 314.2°, 80, 17.6 | hsl(314.2, 80%, 17.6%) |
HSV | 314.2°, 88.9, 31.8 |
XYZ | 4.416, 2.315, 5.065 |
---|---|
Hunter Lab | 15.215, 25.181, -9.087 |
CIE-LAB | 17.06, 37.247, -14.928 |
CIE-LCH | 17.06, 40.127, 338.16 |
CIE-LUV | 0, 88.89, 20.99, 68.24 |
Web Safe | 660033 |
RGB percent of color #510940
CMYK percent of color #510940
Text with hexadecimal color #510940
This text has a font color of #510940
<p style="color:#510940">Text here</p>
#510940 Background Color
This box has a background color of #510940
<div style="background-color:#510940">Text here</div>
#510940 Border Color
This box has a border color of #510940
<div style="border: 4px solid #510940">Text here</div>
CSS codes
<p style="color:#510940">Text here</p>
<div style="background-color:#510940">Text here</div>
<div style="border: 4px solid #510940">Text here</div>
#510940 Color on white background
This is how a font and box color of #510940 will look
on a white background.
#510940 Color on black background
This is how a font and box color of #510940 hex color will look
on a black background.