In RGB color space, #870042 hex color has a red value of 135, a green value of 0 and a blue value of 66.
In CMYK color space (used in color printing), #870042 hex color is composed of 0% cyan, 100% magenta, 51.11% yellow and 47.06% black.
#870042 color has a hue of 330.7 degrees, a saturation of 100% and a lightness of 26.5%.
#870042 hex color contains mainly RED.
The closest web safe color of #870042 is #990033
#870042 hex color has a decimal value of 8847426.
HEX | 870042 | #870042 |
---|---|---|
RGB | 135, 0, 66 | rgb(135, 0, 66) |
RGB Percent | 52.94, 0, 25.88 | rgb(52.94, 0, 25.88) |
CMYK | 0, 100, 51, 47 | |
HSL | 330.7°, 100, 26.5 | hsl(330.7, 100%, 26.5%) |
HSV | 330.7°, 100, 52.9 |
XYZ | 10.975, 5.544, 5.646 |
---|---|
Hunter Lab | 23.546, 41.997, 2.265 |
CIE-LAB | 28.232, 52.824, 1.681 |
CIE-LCH | 28.232, 52.851, 1.823 |
CIE-LUV | 0, 100, 51.11, 47.06 |
Web Safe | 990033 |
RGB percent of color #870042
CMYK percent of color #870042
Text with hexadecimal color #870042
This text has a font color of #870042
<p style="color:#870042">Text here</p>
#870042 Background Color
This box has a background color of #870042
<div style="background-color:#870042">Text here</div>
#870042 Border Color
This box has a border color of #870042
<div style="border: 4px solid #870042">Text here</div>
CSS codes
<p style="color:#870042">Text here</p>
<div style="background-color:#870042">Text here</div>
<div style="border: 4px solid #870042">Text here</div>
#870042 Color on white background
This is how a font and box color of #870042 will look
on a white background.
#870042 Color on black background
This is how a font and box color of #870042 hex color will look
on a black background.