In RGB color space, #840c42 hex color has a red value of 132, a green value of 12 and a blue value of 66.
In CMYK color space (used in color printing), #840c42 hex color is composed of 0% cyan, 90.91% magenta, 50% yellow and 48.24% black.
#840c42 color has a hue of 333 degrees, a saturation of 83.33% and a lightness of 28.2%.
#840c42 hex color contains mainly RED.
The closest web safe color of #840c42 is #990033
#840c42 hex color has a decimal value of 8653890.
HEX | 840c42 | #840c42 |
---|---|---|
RGB | 132, 12, 66 | rgb(132, 12, 66) |
RGB Percent | 51.76, 4.71, 25.88 | rgb(51.76, 4.71, 25.88) |
CMYK | 0, 91, 50, 48 | |
HSL | 333°, 83.33, 28.2 | hsl(333, 83.33%, 28.2%) |
HSV | 333°, 90.9, 51.8 |
XYZ | 10.631, 5.562, 5.668 |
---|---|
Hunter Lab | 23.584, 39.191, 2.259 |
CIE-LAB | 28.279, 50.047, 1.667 |
CIE-LCH | 28.279, 50.075, 1.908 |
CIE-LUV | 0, 90.91, 50, 48.24 |
Web Safe | 990033 |
RGB percent of color #840c42
CMYK percent of color #840c42
Text with hexadecimal color #840c42
This text has a font color of #840c42
<p style="color:#840c42">Text here</p>
#840c42 Background Color
This box has a background color of #840c42
<div style="background-color:#840c42">Text here</div>
#840c42 Border Color
This box has a border color of #840c42
<div style="border: 4px solid #840c42">Text here</div>
CSS codes
<p style="color:#840c42">Text here</p>
<div style="background-color:#840c42">Text here</div>
<div style="border: 4px solid #840c42">Text here</div>
#840c42 Color on white background
This is how a font and box color of #840c42 will look
on a white background.
#840c42 Color on black background
This is how a font and box color of #840c42 hex color will look
on a black background.