In RGB color space, #510240 hex color has a red value of 81, a green value of 2 and a blue value of 64.
In CMYK color space (used in color printing), #510240 hex color is composed of 0% cyan, 97.53% magenta, 20.99% yellow and 68.24% black.
#510240 color has a hue of 312.9 degrees, a saturation of 95.18% and a lightness of 16.3%.
#510240 hex color contains mainly RED.
The closest web safe color of #510240 is #660033
#510240 hex color has a decimal value of 5308992.
HEX | 510240 | #510240 |
---|---|---|
RGB | 81, 2, 64 | rgb(81, 2, 64) |
RGB Percent | 31.76, 0.78, 25.1 | rgb(31.76, 0.78, 25.1) |
CMYK | 0, 98, 21, 68 | |
HSL | 312.9°, 95.18, 16.3 | hsl(312.9, 95.18%, 16.3%) |
HSV | 312.9°, 97.5, 31.8 |
XYZ | 4.34, 2.163, 5.039 |
---|---|
Hunter Lab | 14.707, 26.937, -10.019 |
CIE-LAB | 16.32, 39.4, -16.081 |
CIE-LCH | 16.32, 42.555, 337.797 |
CIE-LUV | 0, 97.53, 20.99, 68.24 |
Web Safe | 660033 |
RGB percent of color #510240
CMYK percent of color #510240
Text with hexadecimal color #510240
This text has a font color of #510240
<p style="color:#510240">Text here</p>
#510240 Background Color
This box has a background color of #510240
<div style="background-color:#510240">Text here</div>
#510240 Border Color
This box has a border color of #510240
<div style="border: 4px solid #510240">Text here</div>
CSS codes
<p style="color:#510240">Text here</p>
<div style="background-color:#510240">Text here</div>
<div style="border: 4px solid #510240">Text here</div>
#510240 Color on white background
This is how a font and box color of #510240 will look
on a white background.
#510240 Color on black background
This is how a font and box color of #510240 hex color will look
on a black background.