In RGB color space, #842ff2 hex color has a red value of 132, a green value of 47 and a blue value of 242.
In CMYK color space (used in color printing), #842ff2 hex color is composed of 45.45% cyan, 80.58% magenta, 0% yellow and 5.1% black.
#842ff2 color has a hue of 266.2 degrees, a saturation of 88.24% and a lightness of 56.7%.
#842ff2 hex color contains mainly BLUE.
The closest web safe color of #842ff2 is #9933ff
#842ff2 hex color has a decimal value of 8663026.
HEX | 842ff2 | #842ff2 |
---|---|---|
RGB | 132, 47, 242 | rgb(132, 47, 242) |
RGB Percent | 51.76, 18.43, 94.9 | rgb(51.76, 18.43, 94.9) |
CMYK | 45, 81, 0, 5 | |
HSL | 266.2°, 88.24, 56.7 | hsl(266.2, 88.24%, 56.7%) |
HSV | 266.2°, 80.6, 94.9 |
XYZ | 26.559, 13.349, 85.181 |
---|---|
Hunter Lab | 36.536, 65.817, -112.654 |
CIE-LAB | 43.284, 71.348, -82.071 |
CIE-LCH | 43.284, 108.748, 311.002 |
CIE-LUV | 45.45, 80.58, 0, 5.1 |
Web Safe | 9933ff |
RGB percent of color #842ff2
CMYK percent of color #842ff2
Text with hexadecimal color #842ff2
This text has a font color of #842ff2
<p style="color:#842ff2">Text here</p>
#842ff2 Background Color
This box has a background color of #842ff2
<div style="background-color:#842ff2">Text here</div>
#842ff2 Border Color
This box has a border color of #842ff2
<div style="border: 4px solid #842ff2">Text here</div>
CSS codes
<p style="color:#842ff2">Text here</p>
<div style="background-color:#842ff2">Text here</div>
<div style="border: 4px solid #842ff2">Text here</div>
#842ff2 Color on white background
This is how a font and box color of #842ff2 will look
on a white background.
#842ff2 Color on black background
This is how a font and box color of #842ff2 hex color will look
on a black background.