In RGB color space, #842ec6 hex color has a red value of 132, a green value of 46 and a blue value of 198.
In CMYK color space (used in color printing), #842ec6 hex color is composed of 33.33% cyan, 76.77% magenta, 0% yellow and 22.35% black.
#842ec6 color has a hue of 273.9 degrees, a saturation of 62.3% and a lightness of 47.8%.
#842ec6 hex color contains mainly BLUE.
The closest web safe color of #842ec6 is #9933cc
#842ec6 hex color has a decimal value of 8662726.
HEX | 842ec6 | #842ec6 |
---|---|---|
RGB | 132, 46, 198 | rgb(132, 46, 198) |
RGB Percent | 51.76, 18.04, 77.65 | rgb(51.76, 18.04, 77.65) |
CMYK | 33, 77, 0, 22 | |
HSL | 273.9°, 62.3, 47.8 | hsl(273.9, 62.3%, 47.8%) |
HSV | 273.9°, 76.8, 77.6 |
XYZ | 20.686, 10.937, 54.447 |
---|---|
Hunter Lab | 33.071, 53.777, -74.463 |
CIE-LAB | 39.474, 61.644, -63.1 |
CIE-LCH | 39.474, 88.213, 314.331 |
CIE-LUV | 33.33, 76.77, 0, 22.35 |
Web Safe | 9933cc |
RGB percent of color #842ec6
CMYK percent of color #842ec6
Text with hexadecimal color #842ec6
This text has a font color of #842ec6
<p style="color:#842ec6">Text here</p>
#842ec6 Background Color
This box has a background color of #842ec6
<div style="background-color:#842ec6">Text here</div>
#842ec6 Border Color
This box has a border color of #842ec6
<div style="border: 4px solid #842ec6">Text here</div>
CSS codes
<p style="color:#842ec6">Text here</p>
<div style="background-color:#842ec6">Text here</div>
<div style="border: 4px solid #842ec6">Text here</div>
#842ec6 Color on white background
This is how a font and box color of #842ec6 will look
on a white background.
#842ec6 Color on black background
This is how a font and box color of #842ec6 hex color will look
on a black background.