In RGB color space, #840db2 hex color has a red value of 132, a green value of 13 and a blue value of 178.
In CMYK color space (used in color printing), #840db2 hex color is composed of 25.84% cyan, 92.7% magenta, 0% yellow and 30.2% black.
#840db2 color has a hue of 283.3 degrees, a saturation of 86.39% and a lightness of 37.5%.
#840db2 hex color contains mainly BLUE.
The closest web safe color of #840db2 is #990099
#840db2 hex color has a decimal value of 8654258.
HEX | 840db2 | #840db2 |
---|---|---|
RGB | 132, 13, 178 | rgb(132, 13, 178) |
RGB Percent | 51.76, 5.1, 69.8 | rgb(51.76, 5.1, 69.8) |
CMYK | 26, 93, 0, 30 | |
HSL | 283.3°, 86.39, 37.5 | hsl(283.3, 86.39%, 37.5%) |
HSV | 283.3°, 92.7, 69.8 |
XYZ | 17.696, 8.408, 42.81 |
---|---|
Hunter Lab | 28.997, 58.191, -67.237 |
CIE-LAB | 34.819, 66.461, -58.9 |
CIE-LCH | 34.819, 88.805, 318.452 |
CIE-LUV | 25.84, 92.7, 0, 30.2 |
Web Safe | 990099 |
RGB percent of color #840db2
CMYK percent of color #840db2
Text with hexadecimal color #840db2
This text has a font color of #840db2
<p style="color:#840db2">Text here</p>
#840db2 Background Color
This box has a background color of #840db2
<div style="background-color:#840db2">Text here</div>
#840db2 Border Color
This box has a border color of #840db2
<div style="border: 4px solid #840db2">Text here</div>
CSS codes
<p style="color:#840db2">Text here</p>
<div style="background-color:#840db2">Text here</div>
<div style="border: 4px solid #840db2">Text here</div>
#840db2 Color on white background
This is how a font and box color of #840db2 will look
on a white background.
#840db2 Color on black background
This is how a font and box color of #840db2 hex color will look
on a black background.