In RGB color space, #840cb0 hex color has a red value of 132, a green value of 12 and a blue value of 176.
In CMYK color space (used in color printing), #840cb0 hex color is composed of 25% cyan, 93.18% magenta, 0% yellow and 30.98% black.
#840cb0 color has a hue of 283.9 degrees, a saturation of 87.23% and a lightness of 36.9%.
#840cb0 hex color contains mainly BLUE.
The closest web safe color of #840cb0 is #990099
#840cb0 hex color has a decimal value of 8654000.
HEX | 840cb0 | #840cb0 |
---|---|---|
RGB | 132, 12, 176 | rgb(132, 12, 176) |
RGB Percent | 51.76, 4.71, 69.02 | rgb(51.76, 4.71, 69.02) |
CMYK | 25, 93, 0, 31 | |
HSL | 283.9°, 87.23, 36.9 | hsl(283.9, 87.23%, 36.9%) |
HSV | 283.9°, 93.2, 69 |
XYZ | 17.484, 8.303, 41.755 |
---|---|
Hunter Lab | 28.815, 57.882, -65.745 |
CIE-LAB | 34.606, 66.232, -58.053 |
CIE-LCH | 34.606, 88.073, 318.765 |
CIE-LUV | 25, 93.18, 0, 30.98 |
Web Safe | 990099 |
RGB percent of color #840cb0
CMYK percent of color #840cb0
Text with hexadecimal color #840cb0
This text has a font color of #840cb0
<p style="color:#840cb0">Text here</p>
#840cb0 Background Color
This box has a background color of #840cb0
<div style="background-color:#840cb0">Text here</div>
#840cb0 Border Color
This box has a border color of #840cb0
<div style="border: 4px solid #840cb0">Text here</div>
CSS codes
<p style="color:#840cb0">Text here</p>
<div style="background-color:#840cb0">Text here</div>
<div style="border: 4px solid #840cb0">Text here</div>
#840cb0 Color on white background
This is how a font and box color of #840cb0 will look
on a white background.
#840cb0 Color on black background
This is how a font and box color of #840cb0 hex color will look
on a black background.