In RGB color space, #510242 hex color has a red value of 81, a green value of 2 and a blue value of 66.
In CMYK color space (used in color printing), #510242 hex color is composed of 0% cyan, 97.53% magenta, 18.52% yellow and 68.24% black.
#510242 color has a hue of 311.4 degrees, a saturation of 95.18% and a lightness of 16.3%.
#510242 hex color contains mainly RED.
The closest web safe color of #510242 is #660033
#510242 hex color has a decimal value of 5308994.
HEX | 510242 | #510242 |
---|---|---|
RGB | 81, 2, 66 | rgb(81, 2, 66) |
RGB Percent | 31.76, 0.78, 25.88 | rgb(31.76, 0.78, 25.88) |
CMYK | 0, 98, 19, 68 | |
HSL | 311.4°, 95.18, 16.3 | hsl(311.4, 95.18%, 16.3%) |
HSV | 311.4°, 97.5, 31.8 |
XYZ | 4.398, 2.186, 5.344 |
---|---|
Hunter Lab | 14.785, 27.223, -11.08 |
CIE-LAB | 16.435, 39.7, -17.304 |
CIE-LCH | 16.435, 43.307, 336.449 |
CIE-LUV | 0, 97.53, 18.52, 68.24 |
Web Safe | 660033 |
RGB percent of color #510242
CMYK percent of color #510242
Text with hexadecimal color #510242
This text has a font color of #510242
<p style="color:#510242">Text here</p>
#510242 Background Color
This box has a background color of #510242
<div style="background-color:#510242">Text here</div>
#510242 Border Color
This box has a border color of #510242
<div style="border: 4px solid #510242">Text here</div>
CSS codes
<p style="color:#510242">Text here</p>
<div style="background-color:#510242">Text here</div>
<div style="border: 4px solid #510242">Text here</div>
#510242 Color on white background
This is how a font and box color of #510242 will look
on a white background.
#510242 Color on black background
This is how a font and box color of #510242 hex color will look
on a black background.