In RGB color space, #842ef6 hex color has a red value of 132, a green value of 46 and a blue value of 246.
In CMYK color space (used in color printing), #842ef6 hex color is composed of 46.34% cyan, 81.3% magenta, 0% yellow and 3.53% black.
#842ef6 color has a hue of 265.8 degrees, a saturation of 91.74% and a lightness of 57.3%.
#842ef6 hex color contains mainly BLUE.
The closest web safe color of #842ef6 is #9933ff
#842ef6 hex color has a decimal value of 8662774.
HEX | 842ef6 | #842ef6 |
---|---|---|
RGB | 132, 46, 246 | rgb(132, 46, 246) |
RGB Percent | 51.76, 18.04, 96.47 | rgb(51.76, 18.04, 96.47) |
CMYK | 46, 81, 0, 4 | |
HSL | 265.8°, 91.74, 57.3 | hsl(265.8, 91.74%, 57.3%) |
HSV | 265.8°, 81.3, 96.5 |
XYZ | 27.127, 13.513, 88.367 |
---|---|
Hunter Lab | 36.76, 67.394, -116.794 |
CIE-LAB | 43.526, 72.62, -83.923 |
CIE-LCH | 43.526, 110.981, 310.87 |
CIE-LUV | 46.34, 81.3, 0, 3.53 |
Web Safe | 9933ff |
RGB percent of color #842ef6
CMYK percent of color #842ef6
Text with hexadecimal color #842ef6
This text has a font color of #842ef6
<p style="color:#842ef6">Text here</p>
#842ef6 Background Color
This box has a background color of #842ef6
<div style="background-color:#842ef6">Text here</div>
#842ef6 Border Color
This box has a border color of #842ef6
<div style="border: 4px solid #842ef6">Text here</div>
CSS codes
<p style="color:#842ef6">Text here</p>
<div style="background-color:#842ef6">Text here</div>
<div style="border: 4px solid #842ef6">Text here</div>
#842ef6 Color on white background
This is how a font and box color of #842ef6 will look
on a white background.
#842ef6 Color on black background
This is how a font and box color of #842ef6 hex color will look
on a black background.