In RGB color space, #840cd3 hex color has a red value of 132, a green value of 12 and a blue value of 211.
In CMYK color space (used in color printing), #840cd3 hex color is composed of 37.44% cyan, 94.31% magenta, 0% yellow and 17.25% black.
#840cd3 color has a hue of 276.2 degrees, a saturation of 89.24% and a lightness of 43.7%.
#840cd3 hex color contains mainly BLUE.
The closest web safe color of #840cd3 is #9900cc
#840cd3 hex color has a decimal value of 8654035.
HEX | 840cd3 | #840cd3 |
---|---|---|
RGB | 132, 12, 211 | rgb(132, 12, 211) |
RGB Percent | 51.76, 4.71, 82.75 | rgb(51.76, 4.71, 82.75) |
CMYK | 37, 94, 0, 17 | |
HSL | 276.2°, 89.24, 43.7 | hsl(276.2, 89.24%, 43.7%) |
HSV | 276.2°, 94.3, 82.7 |
XYZ | 21.405, 9.872, 62.405 |
---|---|
Hunter Lab | 31.42, 66.62, -95.766 |
CIE-LAB | 37.612, 73.117, -73.697 |
CIE-LCH | 37.612, 103.814, 314.774 |
CIE-LUV | 37.44, 94.31, 0, 17.25 |
Web Safe | 9900cc |
RGB percent of color #840cd3
CMYK percent of color #840cd3
Text with hexadecimal color #840cd3
This text has a font color of #840cd3
<p style="color:#840cd3">Text here</p>
#840cd3 Background Color
This box has a background color of #840cd3
<div style="background-color:#840cd3">Text here</div>
#840cd3 Border Color
This box has a border color of #840cd3
<div style="border: 4px solid #840cd3">Text here</div>
CSS codes
<p style="color:#840cd3">Text here</p>
<div style="background-color:#840cd3">Text here</div>
<div style="border: 4px solid #840cd3">Text here</div>
#840cd3 Color on white background
This is how a font and box color of #840cd3 will look
on a white background.
#840cd3 Color on black background
This is how a font and box color of #840cd3 hex color will look
on a black background.