In RGB color space, #840dcb hex color has a red value of 132, a green value of 13 and a blue value of 203.
In CMYK color space (used in color printing), #840dcb hex color is composed of 34.98% cyan, 93.6% magenta, 0% yellow and 20.39% black.
#840dcb color has a hue of 277.6 degrees, a saturation of 87.96% and a lightness of 42.4%.
#840dcb hex color contains mainly BLUE.
The closest web safe color of #840dcb is #9900cc
#840dcb hex color has a decimal value of 8654283.
HEX | 840dcb | #840dcb |
---|---|---|
RGB | 132, 13, 203 | rgb(132, 13, 203) |
RGB Percent | 51.76, 5.1, 79.61 | rgb(51.76, 5.1, 79.61) |
CMYK | 35, 94, 0, 20 | |
HSL | 277.6°, 87.96, 42.4 | hsl(277.6, 87.96%, 42.4%) |
HSV | 277.6°, 93.6, 79.6 |
XYZ | 20.439, 9.505, 57.257 |
---|---|
Hunter Lab | 30.83, 64.385, -88.531 |
CIE-LAB | 36.939, 71.37, -70.157 |
CIE-LCH | 36.939, 100.078, 315.491 |
CIE-LUV | 34.98, 93.6, 0, 20.39 |
Web Safe | 9900cc |
RGB percent of color #840dcb
CMYK percent of color #840dcb
Text with hexadecimal color #840dcb
This text has a font color of #840dcb
<p style="color:#840dcb">Text here</p>
#840dcb Background Color
This box has a background color of #840dcb
<div style="background-color:#840dcb">Text here</div>
#840dcb Border Color
This box has a border color of #840dcb
<div style="border: 4px solid #840dcb">Text here</div>
CSS codes
<p style="color:#840dcb">Text here</p>
<div style="background-color:#840dcb">Text here</div>
<div style="border: 4px solid #840dcb">Text here</div>
#840dcb Color on white background
This is how a font and box color of #840dcb will look
on a white background.
#840dcb Color on black background
This is how a font and box color of #840dcb hex color will look
on a black background.