In RGB color space, #840ad4 hex color has a red value of 132, a green value of 10 and a blue value of 212.
In CMYK color space (used in color printing), #840ad4 hex color is composed of 37.74% cyan, 95.28% magenta, 0% yellow and 16.86% black.
#840ad4 color has a hue of 276.2 degrees, a saturation of 90.99% and a lightness of 43.5%.
#840ad4 hex color contains mainly BLUE.
The closest web safe color of #840ad4 is #9900cc
#840ad4 hex color has a decimal value of 8653524.
HEX | 840ad4 | #840ad4 |
---|---|---|
RGB | 132, 10, 212 | rgb(132, 10, 212) |
RGB Percent | 51.76, 3.92, 83.14 | rgb(51.76, 3.92, 83.14) |
CMYK | 38, 95, 0, 17 | |
HSL | 276.2°, 90.99, 43.5 | hsl(276.2, 90.99%, 43.5%) |
HSV | 276.2°, 95.3, 83.1 |
XYZ | 21.508, 9.876, 63.06 |
---|---|
Hunter Lab | 31.426, 67.17, -96.974 |
CIE-LAB | 37.619, 73.573, -74.263 |
CIE-LCH | 37.619, 104.537, 314.733 |
CIE-LUV | 37.74, 95.28, 0, 16.86 |
Web Safe | 9900cc |
RGB percent of color #840ad4
CMYK percent of color #840ad4
Text with hexadecimal color #840ad4
This text has a font color of #840ad4
<p style="color:#840ad4">Text here</p>
#840ad4 Background Color
This box has a background color of #840ad4
<div style="background-color:#840ad4">Text here</div>
#840ad4 Border Color
This box has a border color of #840ad4
<div style="border: 4px solid #840ad4">Text here</div>
CSS codes
<p style="color:#840ad4">Text here</p>
<div style="background-color:#840ad4">Text here</div>
<div style="border: 4px solid #840ad4">Text here</div>
#840ad4 Color on white background
This is how a font and box color of #840ad4 will look
on a white background.
#840ad4 Color on black background
This is how a font and box color of #840ad4 hex color will look
on a black background.