In RGB color space, #840db4 hex color has a red value of 132, a green value of 13 and a blue value of 180.
In CMYK color space (used in color printing), #840db4 hex color is composed of 26.67% cyan, 92.78% magenta, 0% yellow and 29.41% black.
#840db4 color has a hue of 282.8 degrees, a saturation of 86.53% and a lightness of 37.8%.
#840db4 hex color contains mainly BLUE.
The closest web safe color of #840db4 is #9900cc
#840db4 hex color has a decimal value of 8654260.
HEX | 840db4 | #840db4 |
---|---|---|
RGB | 132, 13, 180 | rgb(132, 13, 180) |
RGB Percent | 51.76, 5.1, 70.59 | rgb(51.76, 5.1, 70.59) |
CMYK | 27, 93, 0, 29 | |
HSL | 282.8°, 86.53, 37.8 | hsl(282.8, 86.53%, 37.8%) |
HSV | 282.8°, 92.8, 70.6 |
XYZ | 17.898, 8.489, 43.875 |
---|---|
Hunter Lab | 29.136, 58.664, -68.888 |
CIE-LAB | 34.981, 66.842, -59.825 |
CIE-LCH | 34.981, 89.704, 318.171 |
CIE-LUV | 26.67, 92.78, 0, 29.41 |
Web Safe | 9900cc |
RGB percent of color #840db4
CMYK percent of color #840db4
Text with hexadecimal color #840db4
This text has a font color of #840db4
<p style="color:#840db4">Text here</p>
#840db4 Background Color
This box has a background color of #840db4
<div style="background-color:#840db4">Text here</div>
#840db4 Border Color
This box has a border color of #840db4
<div style="border: 4px solid #840db4">Text here</div>
CSS codes
<p style="color:#840db4">Text here</p>
<div style="background-color:#840db4">Text here</div>
<div style="border: 4px solid #840db4">Text here</div>
#840db4 Color on white background
This is how a font and box color of #840db4 will look
on a white background.
#840db4 Color on black background
This is how a font and box color of #840db4 hex color will look
on a black background.