In RGB color space, #840cb3 hex color has a red value of 132, a green value of 12 and a blue value of 179.
In CMYK color space (used in color printing), #840cb3 hex color is composed of 26.26% cyan, 93.3% magenta, 0% yellow and 29.8% black.
#840cb3 color has a hue of 283.1 degrees, a saturation of 87.43% and a lightness of 37.5%.
#840cb3 hex color contains mainly BLUE.
The closest web safe color of #840cb3 is #9900cc
#840cb3 hex color has a decimal value of 8654003.
HEX | 840cb3 | #840cb3 |
---|---|---|
RGB | 132, 12, 179 | rgb(132, 12, 179) |
RGB Percent | 51.76, 4.71, 70.2 | rgb(51.76, 4.71, 70.2) |
CMYK | 26, 93, 0, 30 | |
HSL | 283.1°, 87.43, 37.5 | hsl(283.1, 87.43%, 37.5%) |
HSV | 283.1°, 93.3, 70.2 |
XYZ | 17.784, 8.423, 43.336 |
---|---|
Hunter Lab | 29.022, 58.59, -68.216 |
CIE-LAB | 34.849, 66.803, -59.446 |
CIE-LCH | 34.849, 89.423, 318.335 |
CIE-LUV | 26.26, 93.3, 0, 29.8 |
Web Safe | 9900cc |
RGB percent of color #840cb3
CMYK percent of color #840cb3
Text with hexadecimal color #840cb3
This text has a font color of #840cb3
<p style="color:#840cb3">Text here</p>
#840cb3 Background Color
This box has a background color of #840cb3
<div style="background-color:#840cb3">Text here</div>
#840cb3 Border Color
This box has a border color of #840cb3
<div style="border: 4px solid #840cb3">Text here</div>
CSS codes
<p style="color:#840cb3">Text here</p>
<div style="background-color:#840cb3">Text here</div>
<div style="border: 4px solid #840cb3">Text here</div>
#840cb3 Color on white background
This is how a font and box color of #840cb3 will look
on a white background.
#840cb3 Color on black background
This is how a font and box color of #840cb3 hex color will look
on a black background.