In RGB color space, #840fd4 hex color has a red value of 132, a green value of 15 and a blue value of 212.
In CMYK color space (used in color printing), #840fd4 hex color is composed of 37.74% cyan, 92.92% magenta, 0% yellow and 16.86% black.
#840fd4 color has a hue of 275.6 degrees, a saturation of 86.78% and a lightness of 44.5%.
#840fd4 hex color contains mainly BLUE.
The closest web safe color of #840fd4 is #9900cc
#840fd4 hex color has a decimal value of 8654804.
HEX | 840fd4 | #840fd4 |
---|---|---|
RGB | 132, 15, 212 | rgb(132, 15, 212) |
RGB Percent | 51.76, 5.88, 83.14 | rgb(51.76, 5.88, 83.14) |
CMYK | 38, 93, 0, 17 | |
HSL | 275.6°, 86.78, 44.5 | hsl(275.6, 86.78%, 44.5%) |
HSV | 275.6°, 92.9, 83.1 |
XYZ | 21.57, 10.001, 63.081 |
---|---|
Hunter Lab | 31.624, 66.407, -96.129 |
CIE-LAB | 37.844, 72.895, -73.893 |
CIE-LCH | 37.844, 103.797, 314.61 |
CIE-LUV | 37.74, 92.92, 0, 16.86 |
Web Safe | 9900cc |
RGB percent of color #840fd4
CMYK percent of color #840fd4
Text with hexadecimal color #840fd4
This text has a font color of #840fd4
<p style="color:#840fd4">Text here</p>
#840fd4 Background Color
This box has a background color of #840fd4
<div style="background-color:#840fd4">Text here</div>
#840fd4 Border Color
This box has a border color of #840fd4
<div style="border: 4px solid #840fd4">Text here</div>
CSS codes
<p style="color:#840fd4">Text here</p>
<div style="background-color:#840fd4">Text here</div>
<div style="border: 4px solid #840fd4">Text here</div>
#840fd4 Color on white background
This is how a font and box color of #840fd4 will look
on a white background.
#840fd4 Color on black background
This is how a font and box color of #840fd4 hex color will look
on a black background.