In RGB color space, #842ea2 hex color has a red value of 132, a green value of 46 and a blue value of 162.
In CMYK color space (used in color printing), #842ea2 hex color is composed of 18.52% cyan, 71.6% magenta, 0% yellow and 36.47% black.
#842ea2 color has a hue of 284.5 degrees, a saturation of 55.77% and a lightness of 40.8%.
#842ea2 hex color contains mainly BLUE.
The closest web safe color of #842ea2 is #993399
#842ea2 hex color has a decimal value of 8662690.
HEX | 842ea2 | #842ea2 |
---|---|---|
RGB | 132, 46, 162 | rgb(132, 46, 162) |
RGB Percent | 51.76, 18.04, 63.53 | rgb(51.76, 18.04, 63.53) |
CMYK | 19, 72, 0, 36 | |
HSL | 284.5°, 55.77, 40.8 | hsl(284.5, 55.77%, 40.8%) |
HSV | 284.5°, 71.6, 63.5 |
XYZ | 17.014, 9.468, 35.113 |
---|---|
Hunter Lab | 30.77, 44.852, -46.119 |
CIE-LAB | 36.87, 53.902, -45.996 |
CIE-LCH | 36.87, 70.859, 319.525 |
CIE-LUV | 18.52, 71.6, 0, 36.47 |
Web Safe | 993399 |
RGB percent of color #842ea2
CMYK percent of color #842ea2
Text with hexadecimal color #842ea2
This text has a font color of #842ea2
<p style="color:#842ea2">Text here</p>
#842ea2 Background Color
This box has a background color of #842ea2
<div style="background-color:#842ea2">Text here</div>
#842ea2 Border Color
This box has a border color of #842ea2
<div style="border: 4px solid #842ea2">Text here</div>
CSS codes
<p style="color:#842ea2">Text here</p>
<div style="background-color:#842ea2">Text here</div>
<div style="border: 4px solid #842ea2">Text here</div>
#842ea2 Color on white background
This is how a font and box color of #842ea2 will look
on a white background.
#842ea2 Color on black background
This is how a font and box color of #842ea2 hex color will look
on a black background.