In RGB color space, #842bd8 hex color has a red value of 132, a green value of 43 and a blue value of 216.
In CMYK color space (used in color printing), #842bd8 hex color is composed of 38.89% cyan, 80.09% magenta, 0% yellow and 15.29% black.
#842bd8 color has a hue of 270.9 degrees, a saturation of 68.92% and a lightness of 50.8%.
#842bd8 hex color contains mainly BLUE.
The closest web safe color of #842bd8 is #9933cc
#842bd8 hex color has a decimal value of 8661976.
HEX | 842bd8 | #842bd8 |
---|---|---|
RGB | 132, 43, 216 | rgb(132, 43, 216) |
RGB Percent | 51.76, 16.86, 84.71 | rgb(51.76, 16.86, 84.71) |
CMYK | 39, 80, 0, 15 | |
HSL | 270.9°, 68.92, 50.8 | hsl(270.9, 68.92%, 50.8%) |
HSV | 270.9°, 80.1, 84.7 |
XYZ | 22.774, 11.591, 66.003 |
---|---|
Hunter Lab | 34.046, 59.824, -91.112 |
CIE-LAB | 40.559, 66.767, -71.749 |
CIE-LCH | 40.559, 98.009, 312.94 |
CIE-LUV | 38.89, 80.09, 0, 15.29 |
Web Safe | 9933cc |
RGB percent of color #842bd8
CMYK percent of color #842bd8
Text with hexadecimal color #842bd8
This text has a font color of #842bd8
<p style="color:#842bd8">Text here</p>
#842bd8 Background Color
This box has a background color of #842bd8
<div style="background-color:#842bd8">Text here</div>
#842bd8 Border Color
This box has a border color of #842bd8
<div style="border: 4px solid #842bd8">Text here</div>
CSS codes
<p style="color:#842bd8">Text here</p>
<div style="background-color:#842bd8">Text here</div>
<div style="border: 4px solid #842bd8">Text here</div>
#842bd8 Color on white background
This is how a font and box color of #842bd8 will look
on a white background.
#842bd8 Color on black background
This is how a font and box color of #842bd8 hex color will look
on a black background.