In RGB color space, #840ea2 hex color has a red value of 132, a green value of 14 and a blue value of 162.
In CMYK color space (used in color printing), #840ea2 hex color is composed of 18.52% cyan, 91.36% magenta, 0% yellow and 36.47% black.
#840ea2 color has a hue of 287.8 degrees, a saturation of 84.09% and a lightness of 34.5%.
#840ea2 hex color contains mainly BLUE.
The closest web safe color of #840ea2 is #990099
#840ea2 hex color has a decimal value of 8654498.
HEX | 840ea2 | #840ea2 |
---|---|---|
RGB | 132, 14, 162 | rgb(132, 14, 162) |
RGB Percent | 51.76, 5.49, 63.53 | rgb(51.76, 5.49, 63.53) |
CMYK | 19, 91, 0, 36 | |
HSL | 287.8°, 84.09, 34.5 | hsl(287.8, 84.09%, 34.5%) |
HSV | 287.8°, 91.4, 63.5 |
XYZ | 16.194, 7.828, 34.84 |
---|---|
Hunter Lab | 27.979, 54.353, -54.245 |
CIE-LAB | 33.622, 63.3, -51.239 |
CIE-LCH | 33.622, 81.439, 321.011 |
CIE-LUV | 18.52, 91.36, 0, 36.47 |
Web Safe | 990099 |
RGB percent of color #840ea2
CMYK percent of color #840ea2
Text with hexadecimal color #840ea2
This text has a font color of #840ea2
<p style="color:#840ea2">Text here</p>
#840ea2 Background Color
This box has a background color of #840ea2
<div style="background-color:#840ea2">Text here</div>
#840ea2 Border Color
This box has a border color of #840ea2
<div style="border: 4px solid #840ea2">Text here</div>
CSS codes
<p style="color:#840ea2">Text here</p>
<div style="background-color:#840ea2">Text here</div>
<div style="border: 4px solid #840ea2">Text here</div>
#840ea2 Color on white background
This is how a font and box color of #840ea2 will look
on a white background.
#840ea2 Color on black background
This is how a font and box color of #840ea2 hex color will look
on a black background.