In RGB color space, #840042 hex color has a red value of 132, a green value of 0 and a blue value of 66.
In CMYK color space (used in color printing), #840042 hex color is composed of 0% cyan, 100% magenta, 50% yellow and 48.24% black.
#840042 color has a hue of 330 degrees, a saturation of 100% and a lightness of 25.9%.
#840042 hex color contains mainly RED.
The closest web safe color of #840042 is #990033
#840042 hex color has a decimal value of 8650818.
HEX | 840042 | #840042 |
---|---|---|
RGB | 132, 0, 66 | rgb(132, 0, 66) |
RGB Percent | 51.76, 0, 25.88 | rgb(51.76, 0, 25.88) |
CMYK | 0, 100, 50, 48 | |
HSL | 330°, 100, 25.9 | hsl(330, 100%, 25.9%) |
HSV | 330°, 100, 51.8 |
XYZ | 10.499, 5.299, 5.624 |
---|---|
Hunter Lab | 23.02, 41.128, 1.628 |
CIE-LAB | 27.57, 52.103, 0.638 |
CIE-LCH | 27.57, 52.107, 0.702 |
CIE-LUV | 0, 100, 50, 48.24 |
Web Safe | 990033 |
RGB percent of color #840042
CMYK percent of color #840042
Text with hexadecimal color #840042
This text has a font color of #840042
<p style="color:#840042">Text here</p>
#840042 Background Color
This box has a background color of #840042
<div style="background-color:#840042">Text here</div>
#840042 Border Color
This box has a border color of #840042
<div style="border: 4px solid #840042">Text here</div>
CSS codes
<p style="color:#840042">Text here</p>
<div style="background-color:#840042">Text here</div>
<div style="border: 4px solid #840042">Text here</div>
#840042 Color on white background
This is how a font and box color of #840042 will look
on a white background.
#840042 Color on black background
This is how a font and box color of #840042 hex color will look
on a black background.