In RGB color space, #840cf4 hex color has a red value of 132, a green value of 12 and a blue value of 244.
In CMYK color space (used in color printing), #840cf4 hex color is composed of 45.9% cyan, 95.08% magenta, 0% yellow and 4.31% black.
#840cf4 color has a hue of 271 degrees, a saturation of 91.34% and a lightness of 50.2%.
#840cf4 hex color contains mainly BLUE.
The closest web safe color of #840cf4 is #9900ff
#840cf4 hex color has a decimal value of 8654068.
HEX | 840cf4 | #840cf4 |
---|---|---|
RGB | 132, 12, 244 | rgb(132, 12, 244) |
RGB Percent | 51.76, 4.71, 95.69 | rgb(51.76, 4.71, 95.69) |
CMYK | 46, 95, 0, 4 | |
HSL | 271°, 91.34, 50.2 | hsl(271, 91.34%, 50.2%) |
HSV | 271°, 95.1, 95.7 |
XYZ | 25.976, 11.7, 86.477 |
---|---|
Hunter Lab | 34.205, 75.696, -125.952 |
CIE-LAB | 40.735, 79.926, -87.396 |
CIE-LCH | 40.735, 118.432, 312.444 |
CIE-LUV | 45.9, 95.08, 0, 4.31 |
Web Safe | 9900ff |
RGB percent of color #840cf4
CMYK percent of color #840cf4
Text with hexadecimal color #840cf4
This text has a font color of #840cf4
<p style="color:#840cf4">Text here</p>
#840cf4 Background Color
This box has a background color of #840cf4
<div style="background-color:#840cf4">Text here</div>
#840cf4 Border Color
This box has a border color of #840cf4
<div style="border: 4px solid #840cf4">Text here</div>
CSS codes
<p style="color:#840cf4">Text here</p>
<div style="background-color:#840cf4">Text here</div>
<div style="border: 4px solid #840cf4">Text here</div>
#840cf4 Color on white background
This is how a font and box color of #840cf4 will look
on a white background.
#840cf4 Color on black background
This is how a font and box color of #840cf4 hex color will look
on a black background.