In RGB color space, #842ac8 hex color has a red value of 132, a green value of 42 and a blue value of 200.
In CMYK color space (used in color printing), #842ac8 hex color is composed of 34% cyan, 79% magenta, 0% yellow and 21.57% black.
#842ac8 color has a hue of 274.2 degrees, a saturation of 65.29% and a lightness of 47.5%.
#842ac8 hex color contains mainly BLUE.
The closest web safe color of #842ac8 is #9933cc
#842ac8 hex color has a decimal value of 8661704.
HEX | 842ac8 | #842ac8 |
---|---|---|
RGB | 132, 42, 200 | rgb(132, 42, 200) |
RGB Percent | 51.76, 16.47, 78.43 | rgb(51.76, 16.47, 78.43) |
CMYK | 34, 79, 0, 22 | |
HSL | 274.2°, 65.29, 47.5 | hsl(274.2, 65.29%, 47.5%) |
HSV | 274.2°, 79, 78.4 |
XYZ | 20.769, 10.732, 55.62 |
---|---|
Hunter Lab | 32.76, 55.836, -77.732 |
CIE-LAB | 39.125, 63.55, -64.834 |
CIE-LCH | 39.125, 90.786, 314.427 |
CIE-LUV | 34, 79, 0, 21.57 |
Web Safe | 9933cc |
RGB percent of color #842ac8
CMYK percent of color #842ac8
Text with hexadecimal color #842ac8
This text has a font color of #842ac8
<p style="color:#842ac8">Text here</p>
#842ac8 Background Color
This box has a background color of #842ac8
<div style="background-color:#842ac8">Text here</div>
#842ac8 Border Color
This box has a border color of #842ac8
<div style="border: 4px solid #842ac8">Text here</div>
CSS codes
<p style="color:#842ac8">Text here</p>
<div style="background-color:#842ac8">Text here</div>
<div style="border: 4px solid #842ac8">Text here</div>
#842ac8 Color on white background
This is how a font and box color of #842ac8 will look
on a white background.
#842ac8 Color on black background
This is how a font and box color of #842ac8 hex color will look
on a black background.