In RGB color space, #842dd2 hex color has a red value of 132, a green value of 45 and a blue value of 210.
In CMYK color space (used in color printing), #842dd2 hex color is composed of 37.14% cyan, 78.57% magenta, 0% yellow and 17.65% black.
#842dd2 color has a hue of 271.6 degrees, a saturation of 64.71% and a lightness of 50%.
#842dd2 hex color contains mainly BLUE.
The closest web safe color of #842dd2 is #9933cc
#842dd2 hex color has a decimal value of 8662482.
HEX | 842dd2 | #842dd2 |
---|---|---|
RGB | 132, 45, 210 | rgb(132, 45, 210) |
RGB Percent | 51.76, 17.65, 82.35 | rgb(51.76, 17.65, 82.35) |
CMYK | 37, 79, 0, 18 | |
HSL | 271.6°, 64.71, 50 | hsl(271.6, 64.71%, 50%) |
HSV | 271.6°, 78.6, 82.4 |
XYZ | 22.087, 11.435, 62.016 |
---|---|
Hunter Lab | 33.816, 57.411, -85.063 |
CIE-LAB | 40.304, 64.711, -68.709 |
CIE-LCH | 40.304, 94.385, 313.284 |
CIE-LUV | 37.14, 78.57, 0, 17.65 |
Web Safe | 9933cc |
RGB percent of color #842dd2
CMYK percent of color #842dd2
Text with hexadecimal color #842dd2
This text has a font color of #842dd2
<p style="color:#842dd2">Text here</p>
#842dd2 Background Color
This box has a background color of #842dd2
<div style="background-color:#842dd2">Text here</div>
#842dd2 Border Color
This box has a border color of #842dd2
<div style="border: 4px solid #842dd2">Text here</div>
CSS codes
<p style="color:#842dd2">Text here</p>
<div style="background-color:#842dd2">Text here</div>
<div style="border: 4px solid #842dd2">Text here</div>
#842dd2 Color on white background
This is how a font and box color of #842dd2 will look
on a white background.
#842dd2 Color on black background
This is how a font and box color of #842dd2 hex color will look
on a black background.