In RGB color space, #842ba2 hex color has a red value of 132, a green value of 43 and a blue value of 162.
In CMYK color space (used in color printing), #842ba2 hex color is composed of 18.52% cyan, 73.46% magenta, 0% yellow and 36.47% black.
#842ba2 color has a hue of 284.9 degrees, a saturation of 58.05% and a lightness of 40.2%.
#842ba2 hex color contains mainly BLUE.
The closest web safe color of #842ba2 is #993399
#842ba2 hex color has a decimal value of 8661922.
HEX | 842ba2 | #842ba2 |
---|---|---|
RGB | 132, 43, 162 | rgb(132, 43, 162) |
RGB Percent | 51.76, 16.86, 63.53 | rgb(51.76, 16.86, 63.53) |
CMYK | 19, 73, 0, 36 | |
HSL | 284.9°, 58.05, 40.2 | hsl(284.9, 58.05%, 40.2%) |
HSV | 284.9°, 73.5, 63.5 |
XYZ | 16.901, 9.242, 35.075 |
---|---|
Hunter Lab | 30.401, 46.034, -47.126 |
CIE-LAB | 36.446, 55.104, -46.677 |
CIE-LCH | 36.446, 72.216, 319.733 |
CIE-LUV | 18.52, 73.46, 0, 36.47 |
Web Safe | 993399 |
RGB percent of color #842ba2
CMYK percent of color #842ba2
Text with hexadecimal color #842ba2
This text has a font color of #842ba2
<p style="color:#842ba2">Text here</p>
#842ba2 Background Color
This box has a background color of #842ba2
<div style="background-color:#842ba2">Text here</div>
#842ba2 Border Color
This box has a border color of #842ba2
<div style="border: 4px solid #842ba2">Text here</div>
CSS codes
<p style="color:#842ba2">Text here</p>
<div style="background-color:#842ba2">Text here</div>
<div style="border: 4px solid #842ba2">Text here</div>
#842ba2 Color on white background
This is how a font and box color of #842ba2 will look
on a white background.
#842ba2 Color on black background
This is how a font and box color of #842ba2 hex color will look
on a black background.