In RGB color space, #840caa hex color has a red value of 132, a green value of 12 and a blue value of 170.
In CMYK color space (used in color printing), #840caa hex color is composed of 22.35% cyan, 92.94% magenta, 0% yellow and 33.33% black.
#840caa color has a hue of 285.6 degrees, a saturation of 86.81% and a lightness of 35.7%.
#840caa hex color contains mainly BLUE.
The closest web safe color of #840caa is #990099
#840caa hex color has a decimal value of 8653994.
HEX | 840caa | #840caa |
---|---|---|
RGB | 132, 12, 170 | rgb(132, 12, 170) |
RGB Percent | 51.76, 4.71, 66.67 | rgb(51.76, 4.71, 66.67) |
CMYK | 22, 93, 0, 33 | |
HSL | 285.6°, 86.81, 35.7 | hsl(285.6, 86.81%, 35.7%) |
HSV | 285.6°, 92.9, 66.7 |
XYZ | 16.903, 8.071, 38.697 |
---|---|
Hunter Lab | 28.41, 56.487, -60.873 |
CIE-LAB | 34.13, 65.097, -55.236 |
CIE-LCH | 34.13, 85.374, 319.685 |
CIE-LUV | 22.35, 92.94, 0, 33.33 |
Web Safe | 990099 |
RGB percent of color #840caa
CMYK percent of color #840caa
Text with hexadecimal color #840caa
This text has a font color of #840caa
<p style="color:#840caa">Text here</p>
#840caa Background Color
This box has a background color of #840caa
<div style="background-color:#840caa">Text here</div>
#840caa Border Color
This box has a border color of #840caa
<div style="border: 4px solid #840caa">Text here</div>
CSS codes
<p style="color:#840caa">Text here</p>
<div style="background-color:#840caa">Text here</div>
<div style="border: 4px solid #840caa">Text here</div>
#840caa Color on white background
This is how a font and box color of #840caa will look
on a white background.
#840caa Color on black background
This is how a font and box color of #840caa hex color will look
on a black background.