In RGB color space, #840ed2 hex color has a red value of 132, a green value of 14 and a blue value of 210.
In CMYK color space (used in color printing), #840ed2 hex color is composed of 37.14% cyan, 93.33% magenta, 0% yellow and 17.65% black.
#840ed2 color has a hue of 276.1 degrees, a saturation of 87.5% and a lightness of 43.9%.
#840ed2 hex color contains mainly BLUE.
The closest web safe color of #840ed2 is #9900cc
#840ed2 hex color has a decimal value of 8654546.
HEX | 840ed2 | #840ed2 |
---|---|---|
RGB | 132, 14, 210 | rgb(132, 14, 210) |
RGB Percent | 51.76, 5.49, 82.35 | rgb(51.76, 5.49, 82.35) |
CMYK | 37, 93, 0, 18 | |
HSL | 276.1°, 87.5, 43.9 | hsl(276.1, 87.5%, 43.9%) |
HSV | 276.1°, 93.3, 82.4 |
XYZ | 21.306, 9.873, 61.755 |
---|---|
Hunter Lab | 31.421, 66.049, -94.533 |
CIE-LAB | 37.614, 72.64, -73.115 |
CIE-LCH | 37.614, 103.065, 314.813 |
CIE-LUV | 37.14, 93.33, 0, 17.65 |
Web Safe | 9900cc |
RGB percent of color #840ed2
CMYK percent of color #840ed2
Text with hexadecimal color #840ed2
This text has a font color of #840ed2
<p style="color:#840ed2">Text here</p>
#840ed2 Background Color
This box has a background color of #840ed2
<div style="background-color:#840ed2">Text here</div>
#840ed2 Border Color
This box has a border color of #840ed2
<div style="border: 4px solid #840ed2">Text here</div>
CSS codes
<p style="color:#840ed2">Text here</p>
<div style="background-color:#840ed2">Text here</div>
<div style="border: 4px solid #840ed2">Text here</div>
#840ed2 Color on white background
This is how a font and box color of #840ed2 will look
on a white background.
#840ed2 Color on black background
This is how a font and box color of #840ed2 hex color will look
on a black background.