In RGB color space, #842dfb hex color has a red value of 132, a green value of 45 and a blue value of 251.
In CMYK color space (used in color printing), #842dfb hex color is composed of 47.41% cyan, 82.07% magenta, 0% yellow and 1.57% black.
#842dfb color has a hue of 265.3 degrees, a saturation of 96.26% and a lightness of 58%.
#842dfb hex color contains mainly BLUE.
The closest web safe color of #842dfb is #9933ff
#842dfb hex color has a decimal value of 8662523.
HEX | 842dfb | #842dfb |
---|---|---|
RGB | 132, 45, 251 | rgb(132, 45, 251) |
RGB Percent | 51.76, 17.65, 98.43 | rgb(51.76, 17.65, 98.43) |
CMYK | 47, 82, 0, 2 | |
HSL | 265.3°, 96.26, 58 | hsl(265.3, 96.26%, 58%) |
HSV | 265.3°, 82.1, 98.4 |
XYZ | 27.867, 13.747, 92.452 |
---|---|
Hunter Lab | 37.077, 69.276, -121.887 |
CIE-LAB | 43.868, 74.114, -86.166 |
CIE-LCH | 43.868, 113.655, 310.7 |
CIE-LUV | 47.41, 82.07, 0, 1.57 |
Web Safe | 9933ff |
RGB percent of color #842dfb
CMYK percent of color #842dfb
Text with hexadecimal color #842dfb
This text has a font color of #842dfb
<p style="color:#842dfb">Text here</p>
#842dfb Background Color
This box has a background color of #842dfb
<div style="background-color:#842dfb">Text here</div>
#842dfb Border Color
This box has a border color of #842dfb
<div style="border: 4px solid #842dfb">Text here</div>
CSS codes
<p style="color:#842dfb">Text here</p>
<div style="background-color:#842dfb">Text here</div>
<div style="border: 4px solid #842dfb">Text here</div>
#842dfb Color on white background
This is how a font and box color of #842dfb will look
on a white background.
#842dfb Color on black background
This is how a font and box color of #842dfb hex color will look
on a black background.