In RGB color space, #840cd2 hex color has a red value of 132, a green value of 12 and a blue value of 210.
In CMYK color space (used in color printing), #840cd2 hex color is composed of 37.14% cyan, 94.29% magenta, 0% yellow and 17.65% black.
#840cd2 color has a hue of 276.4 degrees, a saturation of 89.19% and a lightness of 43.5%.
#840cd2 hex color contains mainly BLUE.
The closest web safe color of #840cd2 is #9900cc
#840cd2 hex color has a decimal value of 8654034.
HEX | 840cd2 | #840cd2 |
---|---|---|
RGB | 132, 12, 210 | rgb(132, 12, 210) |
RGB Percent | 51.76, 4.71, 82.35 | rgb(51.76, 4.71, 82.35) |
CMYK | 37, 94, 0, 18 | |
HSL | 276.4°, 89.19, 43.5 | hsl(276.4, 89.19%, 43.5%) |
HSV | 276.4°, 94.3, 82.4 |
XYZ | 21.28, 9.822, 61.747 |
---|---|
Hunter Lab | 31.34, 66.357, -94.877 |
CIE-LAB | 37.521, 72.915, -73.267 |
CIE-LCH | 37.521, 103.367, 314.862 |
CIE-LUV | 37.14, 94.29, 0, 17.65 |
Web Safe | 9900cc |
RGB percent of color #840cd2
CMYK percent of color #840cd2
Text with hexadecimal color #840cd2
This text has a font color of #840cd2
<p style="color:#840cd2">Text here</p>
#840cd2 Background Color
This box has a background color of #840cd2
<div style="background-color:#840cd2">Text here</div>
#840cd2 Border Color
This box has a border color of #840cd2
<div style="border: 4px solid #840cd2">Text here</div>
CSS codes
<p style="color:#840cd2">Text here</p>
<div style="background-color:#840cd2">Text here</div>
<div style="border: 4px solid #840cd2">Text here</div>
#840cd2 Color on white background
This is how a font and box color of #840cd2 will look
on a white background.
#840cd2 Color on black background
This is how a font and box color of #840cd2 hex color will look
on a black background.