In RGB color space, #840ce2 hex color has a red value of 132, a green value of 12 and a blue value of 226.
In CMYK color space (used in color printing), #840ce2 hex color is composed of 41.59% cyan, 94.69% magenta, 0% yellow and 11.37% black.
#840ce2 color has a hue of 273.6 degrees, a saturation of 89.92% and a lightness of 46.7%.
#840ce2 hex color contains mainly BLUE.
The closest web safe color of #840ce2 is #9900cc
#840ce2 hex color has a decimal value of 8654050.
HEX | 840ce2 | #840ce2 |
---|---|---|
RGB | 132, 12, 226 | rgb(132, 12, 226) |
RGB Percent | 51.76, 4.71, 88.63 | rgb(51.76, 4.71, 88.63) |
CMYK | 42, 95, 0, 11 | |
HSL | 273.6°, 89.92, 46.7 | hsl(273.6, 89.92%, 46.7%) |
HSV | 273.6°, 94.7, 88.6 |
XYZ | 23.375, 10.659, 72.777 |
---|---|
Hunter Lab | 32.648, 70.666, -109.312 |
CIE-LAB | 39, 76.193, -80.039 |
CIE-LCH | 39, 110.506, 313.59 |
CIE-LUV | 41.59, 94.69, 0, 11.37 |
Web Safe | 9900cc |
RGB percent of color #840ce2
CMYK percent of color #840ce2
Text with hexadecimal color #840ce2
This text has a font color of #840ce2
<p style="color:#840ce2">Text here</p>
#840ce2 Background Color
This box has a background color of #840ce2
<div style="background-color:#840ce2">Text here</div>
#840ce2 Border Color
This box has a border color of #840ce2
<div style="border: 4px solid #840ce2">Text here</div>
CSS codes
<p style="color:#840ce2">Text here</p>
<div style="background-color:#840ce2">Text here</div>
<div style="border: 4px solid #840ce2">Text here</div>
#840ce2 Color on white background
This is how a font and box color of #840ce2 will look
on a white background.
#840ce2 Color on black background
This is how a font and box color of #840ce2 hex color will look
on a black background.