In RGB color space, #842dd8 hex color has a red value of 132, a green value of 45 and a blue value of 216.
In CMYK color space (used in color printing), #842dd8 hex color is composed of 38.89% cyan, 79.17% magenta, 0% yellow and 15.29% black.
#842dd8 color has a hue of 270.5 degrees, a saturation of 68.67% and a lightness of 51.2%.
#842dd8 hex color contains mainly BLUE.
The closest web safe color of #842dd8 is #9933cc
#842dd8 hex color has a decimal value of 8662488.
HEX | 842dd8 | #842dd8 |
---|---|---|
RGB | 132, 45, 216 | rgb(132, 45, 216) |
RGB Percent | 51.76, 17.65, 84.71 | rgb(51.76, 17.65, 84.71) |
CMYK | 39, 79, 0, 15 | |
HSL | 270.5°, 68.67, 51.2 | hsl(270.5, 68.67%, 51.2%) |
HSV | 270.5°, 79.2, 84.7 |
XYZ | 22.849, 11.74, 66.028 |
---|---|
Hunter Lab | 34.264, 59.073, -90.271 |
CIE-LAB | 40.8, 66.067, -71.355 |
CIE-LCH | 40.8, 97.244, 312.796 |
CIE-LUV | 38.89, 79.17, 0, 15.29 |
Web Safe | 9933cc |
RGB percent of color #842dd8
CMYK percent of color #842dd8
Text with hexadecimal color #842dd8
This text has a font color of #842dd8
<p style="color:#842dd8">Text here</p>
#842dd8 Background Color
This box has a background color of #842dd8
<div style="background-color:#842dd8">Text here</div>
#842dd8 Border Color
This box has a border color of #842dd8
<div style="border: 4px solid #842dd8">Text here</div>
CSS codes
<p style="color:#842dd8">Text here</p>
<div style="background-color:#842dd8">Text here</div>
<div style="border: 4px solid #842dd8">Text here</div>
#842dd8 Color on white background
This is how a font and box color of #842dd8 will look
on a white background.
#842dd8 Color on black background
This is how a font and box color of #842dd8 hex color will look
on a black background.