In RGB color space, #840cf2 hex color has a red value of 132, a green value of 12 and a blue value of 242.
In CMYK color space (used in color printing), #840cf2 hex color is composed of 45.45% cyan, 95.04% magenta, 0% yellow and 5.1% black.
#840cf2 color has a hue of 271.3 degrees, a saturation of 90.55% and a lightness of 49.8%.
#840cf2 hex color contains mainly BLUE.
The closest web safe color of #840cf2 is #9900ff
#840cf2 hex color has a decimal value of 8654066.
HEX | 840cf2 | #840cf2 |
---|---|---|
RGB | 132, 12, 242 | rgb(132, 12, 242) |
RGB Percent | 51.76, 4.71, 94.9 | rgb(51.76, 4.71, 94.9) |
CMYK | 45, 95, 0, 5 | |
HSL | 271.3°, 90.55, 49.8 | hsl(271.3, 90.55%, 49.8%) |
HSV | 271.3°, 95, 94.9 |
XYZ | 25.674, 11.579, 84.886 |
---|---|
Hunter Lab | 34.028, 75.129, -124.085 |
CIE-LAB | 40.539, 79.51, -86.591 |
CIE-LCH | 40.539, 117.558, 312.559 |
CIE-LUV | 45.45, 95.04, 0, 5.1 |
Web Safe | 9900ff |
RGB percent of color #840cf2
CMYK percent of color #840cf2
Text with hexadecimal color #840cf2
This text has a font color of #840cf2
<p style="color:#840cf2">Text here</p>
#840cf2 Background Color
This box has a background color of #840cf2
<div style="background-color:#840cf2">Text here</div>
#840cf2 Border Color
This box has a border color of #840cf2
<div style="border: 4px solid #840cf2">Text here</div>
CSS codes
<p style="color:#840cf2">Text here</p>
<div style="background-color:#840cf2">Text here</div>
<div style="border: 4px solid #840cf2">Text here</div>
#840cf2 Color on white background
This is how a font and box color of #840cf2 will look
on a white background.
#840cf2 Color on black background
This is how a font and box color of #840cf2 hex color will look
on a black background.