In RGB color space, #842cf2 hex color has a red value of 132, a green value of 44 and a blue value of 242.
In CMYK color space (used in color printing), #842cf2 hex color is composed of 45.45% cyan, 81.82% magenta, 0% yellow and 5.1% black.
#842cf2 color has a hue of 266.7 degrees, a saturation of 88.39% and a lightness of 56.1%.
#842cf2 hex color contains mainly BLUE.
The closest web safe color of #842cf2 is #9933ff
#842cf2 hex color has a decimal value of 8662258.
HEX | 842cf2 | #842cf2 |
---|---|---|
RGB | 132, 44, 242 | rgb(132, 44, 242) |
RGB Percent | 51.76, 17.25, 94.9 | rgb(51.76, 17.25, 94.9) |
CMYK | 45, 82, 0, 5 | |
HSL | 266.7°, 88.39, 56.1 | hsl(266.7, 88.39%, 56.1%) |
HSV | 266.7°, 81.8, 94.9 |
XYZ | 26.443, 13.118, 85.143 |
---|---|
Hunter Lab | 36.219, 66.938, -114.026 |
CIE-LAB | 42.941, 72.354, -82.636 |
CIE-LCH | 42.941, 109.835, 311.205 |
CIE-LUV | 45.45, 81.82, 0, 5.1 |
Web Safe | 9933ff |
RGB percent of color #842cf2
CMYK percent of color #842cf2
Text with hexadecimal color #842cf2
This text has a font color of #842cf2
<p style="color:#842cf2">Text here</p>
#842cf2 Background Color
This box has a background color of #842cf2
<div style="background-color:#842cf2">Text here</div>
#842cf2 Border Color
This box has a border color of #842cf2
<div style="border: 4px solid #842cf2">Text here</div>
CSS codes
<p style="color:#842cf2">Text here</p>
<div style="background-color:#842cf2">Text here</div>
<div style="border: 4px solid #842cf2">Text here</div>
#842cf2 Color on white background
This is how a font and box color of #842cf2 will look
on a white background.
#842cf2 Color on black background
This is how a font and box color of #842cf2 hex color will look
on a black background.