In RGB color space, #842ab8 hex color has a red value of 132, a green value of 42 and a blue value of 184.
In CMYK color space (used in color printing), #842ab8 hex color is composed of 28.26% cyan, 77.17% magenta, 0% yellow and 27.84% black.
#842ab8 color has a hue of 278 degrees, a saturation of 62.83% and a lightness of 44.3%.
#842ab8 hex color contains mainly BLUE.
The closest web safe color of #842ab8 is #9933cc
#842ab8 hex color has a decimal value of 8661688.
HEX | 842ab8 | #842ab8 |
---|---|---|
RGB | 132, 42, 184 | rgb(132, 42, 184) |
RGB Percent | 51.76, 16.47, 72.16 | rgb(51.76, 16.47, 72.16) |
CMYK | 28, 77, 0, 28 | |
HSL | 278°, 62.83, 44.3 | hsl(278, 62.83%, 44.3%) |
HSV | 278°, 77.2, 72.2 |
XYZ | 18.995, 10.022, 46.281 |
---|---|
Hunter Lab | 31.658, 51.702, -64.517 |
CIE-LAB | 37.882, 60.078, -57.476 |
CIE-LCH | 37.882, 83.144, 316.268 |
CIE-LUV | 28.26, 77.17, 0, 27.84 |
Web Safe | 9933cc |
RGB percent of color #842ab8
CMYK percent of color #842ab8
Text with hexadecimal color #842ab8
This text has a font color of #842ab8
<p style="color:#842ab8">Text here</p>
#842ab8 Background Color
This box has a background color of #842ab8
<div style="background-color:#842ab8">Text here</div>
#842ab8 Border Color
This box has a border color of #842ab8
<div style="border: 4px solid #842ab8">Text here</div>
CSS codes
<p style="color:#842ab8">Text here</p>
<div style="background-color:#842ab8">Text here</div>
<div style="border: 4px solid #842ab8">Text here</div>
#842ab8 Color on white background
This is how a font and box color of #842ab8 will look
on a white background.
#842ab8 Color on black background
This is how a font and box color of #842ab8 hex color will look
on a black background.