In RGB color space, #842dc2 hex color has a red value of 132, a green value of 45 and a blue value of 194.
In CMYK color space (used in color printing), #842dc2 hex color is composed of 31.96% cyan, 76.8% magenta, 0% yellow and 23.92% black.
#842dc2 color has a hue of 275 degrees, a saturation of 62.34% and a lightness of 46.9%.
#842dc2 hex color contains mainly BLUE.
The closest web safe color of #842dc2 is #9933cc
#842dc2 hex color has a decimal value of 8662466.
HEX | 842dc2 | #842dc2 |
---|---|---|
RGB | 132, 45, 194 | rgb(132, 45, 194) |
RGB Percent | 51.76, 17.65, 76.08 | rgb(51.76, 17.65, 76.08) |
CMYK | 32, 77, 0, 24 | |
HSL | 275°, 62.34, 46.9 | hsl(275, 62.34%, 46.9%) |
HSV | 275°, 76.8, 76.1 |
XYZ | 20.192, 10.677, 52.036 |
---|---|
Hunter Lab | 32.676, 53.122, -71.546 |
CIE-LAB | 39.031, 61.141, -61.486 |
CIE-LCH | 39.031, 86.711, 314.839 |
CIE-LUV | 31.96, 76.8, 0, 23.92 |
Web Safe | 9933cc |
RGB percent of color #842dc2
CMYK percent of color #842dc2
Text with hexadecimal color #842dc2
This text has a font color of #842dc2
<p style="color:#842dc2">Text here</p>
#842dc2 Background Color
This box has a background color of #842dc2
<div style="background-color:#842dc2">Text here</div>
#842dc2 Border Color
This box has a border color of #842dc2
<div style="border: 4px solid #842dc2">Text here</div>
CSS codes
<p style="color:#842dc2">Text here</p>
<div style="background-color:#842dc2">Text here</div>
<div style="border: 4px solid #842dc2">Text here</div>
#842dc2 Color on white background
This is how a font and box color of #842dc2 will look
on a white background.
#842dc2 Color on black background
This is how a font and box color of #842dc2 hex color will look
on a black background.