In RGB color space, #840fd8 hex color has a red value of 132, a green value of 15 and a blue value of 216.
In CMYK color space (used in color printing), #840fd8 hex color is composed of 38.89% cyan, 93.06% magenta, 0% yellow and 15.29% black.
#840fd8 color has a hue of 274.9 degrees, a saturation of 87.01% and a lightness of 45.3%.
#840fd8 hex color contains mainly BLUE.
The closest web safe color of #840fd8 is #9900cc
#840fd8 hex color has a decimal value of 8654808.
HEX | 840fd8 | #840fd8 |
---|---|---|
RGB | 132, 15, 216 | rgb(132, 15, 216) |
RGB Percent | 51.76, 5.88, 84.71 | rgb(51.76, 5.88, 84.71) |
CMYK | 39, 93, 0, 15 | |
HSL | 274.9°, 87.01, 45.3 | hsl(274.9, 87.01%, 45.3%) |
HSV | 274.9°, 93.1, 84.7 |
XYZ | 22.081, 10.205, 65.772 |
---|---|
Hunter Lab | 31.945, 67.477, -99.71 |
CIE-LAB | 38.208, 73.717, -75.604 |
CIE-LCH | 38.208, 105.594, 314.276 |
CIE-LUV | 38.89, 93.06, 0, 15.29 |
Web Safe | 9900cc |
RGB percent of color #840fd8
CMYK percent of color #840fd8
Text with hexadecimal color #840fd8
This text has a font color of #840fd8
<p style="color:#840fd8">Text here</p>
#840fd8 Background Color
This box has a background color of #840fd8
<div style="background-color:#840fd8">Text here</div>
#840fd8 Border Color
This box has a border color of #840fd8
<div style="border: 4px solid #840fd8">Text here</div>
CSS codes
<p style="color:#840fd8">Text here</p>
<div style="background-color:#840fd8">Text here</div>
<div style="border: 4px solid #840fd8">Text here</div>
#840fd8 Color on white background
This is how a font and box color of #840fd8 will look
on a white background.
#840fd8 Color on black background
This is how a font and box color of #840fd8 hex color will look
on a black background.