In RGB color space, #842ab6 hex color has a red value of 132, a green value of 42 and a blue value of 182.
In CMYK color space (used in color printing), #842ab6 hex color is composed of 27.47% cyan, 76.92% magenta, 0% yellow and 28.63% black.
#842ab6 color has a hue of 278.6 degrees, a saturation of 62.5% and a lightness of 43.9%.
#842ab6 hex color contains mainly BLUE.
The closest web safe color of #842ab6 is #9933cc
#842ab6 hex color has a decimal value of 8661686.
HEX | 842ab6 | #842ab6 |
---|---|---|
RGB | 132, 42, 182 | rgb(132, 42, 182) |
RGB Percent | 51.76, 16.47, 71.37 | rgb(51.76, 16.47, 71.37) |
CMYK | 27, 77, 0, 29 | |
HSL | 278.6°, 62.5, 43.9 | hsl(278.6, 62.5%, 43.9%) |
HSV | 278.6°, 76.9, 71.4 |
XYZ | 18.787, 9.939, 45.184 |
---|---|
Hunter Lab | 31.526, 51.2, -62.907 |
CIE-LAB | 37.733, 59.65, -56.535 |
CIE-LCH | 37.733, 82.185, 316.536 |
CIE-LUV | 27.47, 76.92, 0, 28.63 |
Web Safe | 9933cc |
RGB percent of color #842ab6
CMYK percent of color #842ab6
Text with hexadecimal color #842ab6
This text has a font color of #842ab6
<p style="color:#842ab6">Text here</p>
#842ab6 Background Color
This box has a background color of #842ab6
<div style="background-color:#842ab6">Text here</div>
#842ab6 Border Color
This box has a border color of #842ab6
<div style="border: 4px solid #842ab6">Text here</div>
CSS codes
<p style="color:#842ab6">Text here</p>
<div style="background-color:#842ab6">Text here</div>
<div style="border: 4px solid #842ab6">Text here</div>
#842ab6 Color on white background
This is how a font and box color of #842ab6 will look
on a white background.
#842ab6 Color on black background
This is how a font and box color of #842ab6 hex color will look
on a black background.