In RGB color space, #842def hex color has a red value of 132, a green value of 45 and a blue value of 239.
In CMYK color space (used in color printing), #842def hex color is composed of 44.77% cyan, 81.17% magenta, 0% yellow and 6.27% black.
#842def color has a hue of 266.9 degrees, a saturation of 85.84% and a lightness of 55.7%.
#842def hex color contains mainly BLUE.
The closest web safe color of #842def is #9933ff
#842def hex color has a decimal value of 8662511.
HEX | 842def | #842def |
---|---|---|
RGB | 132, 45, 239 | rgb(132, 45, 239) |
RGB Percent | 51.76, 17.65, 93.73 | rgb(51.76, 17.65, 93.73) |
CMYK | 45, 81, 0, 6 | |
HSL | 266.9°, 85.84, 55.7 | hsl(266.9, 85.84%, 55.7%) |
HSV | 266.9°, 81.2, 93.7 |
XYZ | 26.034, 13.014, 82.801 |
---|---|
Hunter Lab | 36.075, 65.686, -110.833 |
CIE-LAB | 42.784, 71.336, -81.201 |
CIE-LCH | 42.784, 108.085, 311.3 |
CIE-LUV | 44.77, 81.17, 0, 6.27 |
Web Safe | 9933ff |
RGB percent of color #842def
CMYK percent of color #842def
Text with hexadecimal color #842def
This text has a font color of #842def
<p style="color:#842def">Text here</p>
#842def Background Color
This box has a background color of #842def
<div style="background-color:#842def">Text here</div>
#842def Border Color
This box has a border color of #842def
<div style="border: 4px solid #842def">Text here</div>
CSS codes
<p style="color:#842def">Text here</p>
<div style="background-color:#842def">Text here</div>
<div style="border: 4px solid #842def">Text here</div>
#842def Color on white background
This is how a font and box color of #842def will look
on a white background.
#842def Color on black background
This is how a font and box color of #842def hex color will look
on a black background.