In RGB color space, #842ddb hex color has a red value of 132, a green value of 45 and a blue value of 219.
In CMYK color space (used in color printing), #842ddb hex color is composed of 39.73% cyan, 79.45% magenta, 0% yellow and 14.12% black.
#842ddb color has a hue of 270 degrees, a saturation of 70.73% and a lightness of 51.8%.
#842ddb hex color contains mainly BLUE.
The closest web safe color of #842ddb is #9933cc
#842ddb hex color has a decimal value of 8662491.
HEX | 842ddb | #842ddb |
---|---|---|
RGB | 132, 45, 219 | rgb(132, 45, 219) |
RGB Percent | 51.76, 17.65, 85.88 | rgb(51.76, 17.65, 85.88) |
CMYK | 40, 79, 0, 14 | |
HSL | 270°, 70.73, 51.8 | hsl(270, 70.73%, 51.8%) |
HSV | 270°, 79.5, 85.9 |
XYZ | 23.24, 11.897, 68.089 |
---|---|
Hunter Lab | 34.492, 59.908, -92.897 |
CIE-LAB | 41.052, 66.744, -72.663 |
CIE-LCH | 41.052, 98.664, 312.569 |
CIE-LUV | 39.73, 79.45, 0, 14.12 |
Web Safe | 9933cc |
RGB percent of color #842ddb
CMYK percent of color #842ddb
Text with hexadecimal color #842ddb
This text has a font color of #842ddb
<p style="color:#842ddb">Text here</p>
#842ddb Background Color
This box has a background color of #842ddb
<div style="background-color:#842ddb">Text here</div>
#842ddb Border Color
This box has a border color of #842ddb
<div style="border: 4px solid #842ddb">Text here</div>
CSS codes
<p style="color:#842ddb">Text here</p>
<div style="background-color:#842ddb">Text here</div>
<div style="border: 4px solid #842ddb">Text here</div>
#842ddb Color on white background
This is how a font and box color of #842ddb will look
on a white background.
#842ddb Color on black background
This is how a font and box color of #842ddb hex color will look
on a black background.