In RGB color space, #842afb hex color has a red value of 132, a green value of 42 and a blue value of 251.
In CMYK color space (used in color printing), #842afb hex color is composed of 47.41% cyan, 83.27% magenta, 0% yellow and 1.57% black.
#842afb color has a hue of 265.8 degrees, a saturation of 96.31% and a lightness of 57.5%.
#842afb hex color contains mainly BLUE.
The closest web safe color of #842afb is #9933ff
#842afb hex color has a decimal value of 8661755.
HEX | 842afb | #842afb |
---|---|---|
RGB | 132, 42, 251 | rgb(132, 42, 251) |
RGB Percent | 51.76, 16.47, 98.43 | rgb(51.76, 16.47, 98.43) |
CMYK | 47, 83, 0, 2 | |
HSL | 265.8°, 96.31, 57.5 | hsl(265.8, 96.31%, 57.5%) |
HSV | 265.8°, 83.3, 98.4 |
XYZ | 27.756, 13.526, 92.415 |
---|---|
Hunter Lab | 36.778, 70.352, -123.239 |
CIE-LAB | 43.545, 75.062, -86.697 |
CIE-LCH | 43.545, 114.676, 310.886 |
CIE-LUV | 47.41, 83.27, 0, 1.57 |
Web Safe | 9933ff |
RGB percent of color #842afb
CMYK percent of color #842afb
Text with hexadecimal color #842afb
This text has a font color of #842afb
<p style="color:#842afb">Text here</p>
#842afb Background Color
This box has a background color of #842afb
<div style="background-color:#842afb">Text here</div>
#842afb Border Color
This box has a border color of #842afb
<div style="border: 4px solid #842afb">Text here</div>
CSS codes
<p style="color:#842afb">Text here</p>
<div style="background-color:#842afb">Text here</div>
<div style="border: 4px solid #842afb">Text here</div>
#842afb Color on white background
This is how a font and box color of #842afb will look
on a white background.
#842afb Color on black background
This is how a font and box color of #842afb hex color will look
on a black background.