In RGB color space, #840cdf hex color has a red value of 132, a green value of 12 and a blue value of 223.
In CMYK color space (used in color printing), #840cdf hex color is composed of 40.81% cyan, 94.62% magenta, 0% yellow and 12.55% black.
#840cdf color has a hue of 274.1 degrees, a saturation of 89.79% and a lightness of 46.1%.
#840cdf hex color contains mainly BLUE.
The closest web safe color of #840cdf is #9900cc
#840cdf hex color has a decimal value of 8654047.
HEX | 840cdf | #840cdf |
---|---|---|
RGB | 132, 12, 223 | rgb(132, 12, 223) |
RGB Percent | 51.76, 4.71, 87.45 | rgb(51.76, 4.71, 87.45) |
CMYK | 41, 95, 0, 13 | |
HSL | 274.1°, 89.79, 46.1 | hsl(274.1, 89.79%, 46.1%) |
HSV | 274.1°, 94.6, 87.5 |
XYZ | 22.966, 10.496, 70.628 |
---|---|
Hunter Lab | 32.398, 69.84, -106.576 |
CIE-LAB | 38.718, 75.569, -78.787 |
CIE-LCH | 38.718, 109.17, 313.806 |
CIE-LUV | 40.81, 94.62, 0, 12.55 |
Web Safe | 9900cc |
RGB percent of color #840cdf
CMYK percent of color #840cdf
Text with hexadecimal color #840cdf
This text has a font color of #840cdf
<p style="color:#840cdf">Text here</p>
#840cdf Background Color
This box has a background color of #840cdf
<div style="background-color:#840cdf">Text here</div>
#840cdf Border Color
This box has a border color of #840cdf
<div style="border: 4px solid #840cdf">Text here</div>
CSS codes
<p style="color:#840cdf">Text here</p>
<div style="background-color:#840cdf">Text here</div>
<div style="border: 4px solid #840cdf">Text here</div>
#840cdf Color on white background
This is how a font and box color of #840cdf will look
on a white background.
#840cdf Color on black background
This is how a font and box color of #840cdf hex color will look
on a black background.