In RGB color space, #842af4 hex color has a red value of 132, a green value of 42 and a blue value of 244.
In CMYK color space (used in color printing), #842af4 hex color is composed of 45.9% cyan, 82.79% magenta, 0% yellow and 4.31% black.
#842af4 color has a hue of 266.7 degrees, a saturation of 90.18% and a lightness of 56.1%.
#842af4 hex color contains mainly BLUE.
The closest web safe color of #842af4 is #9933ff
#842af4 hex color has a decimal value of 8661748.
HEX | 842af4 | #842af4 |
---|---|---|
RGB | 132, 42, 244 | rgb(132, 42, 244) |
RGB Percent | 51.76, 16.47, 95.69 | rgb(51.76, 16.47, 95.69) |
CMYK | 46, 83, 0, 4 | |
HSL | 266.7°, 90.18, 56.1 | hsl(266.7, 90.18%, 56.1%) |
HSV | 266.7°, 82.8, 95.7 |
XYZ | 26.673, 13.093, 86.709 |
---|---|
Hunter Lab | 36.184, 68.258, -116.749 |
CIE-LAB | 42.903, 73.459, -83.824 |
CIE-LCH | 42.903, 111.457, 311.23 |
CIE-LUV | 45.9, 82.79, 0, 4.31 |
Web Safe | 9933ff |
RGB percent of color #842af4
CMYK percent of color #842af4
Text with hexadecimal color #842af4
This text has a font color of #842af4
<p style="color:#842af4">Text here</p>
#842af4 Background Color
This box has a background color of #842af4
<div style="background-color:#842af4">Text here</div>
#842af4 Border Color
This box has a border color of #842af4
<div style="border: 4px solid #842af4">Text here</div>
CSS codes
<p style="color:#842af4">Text here</p>
<div style="background-color:#842af4">Text here</div>
<div style="border: 4px solid #842af4">Text here</div>
#842af4 Color on white background
This is how a font and box color of #842af4 will look
on a white background.
#842af4 Color on black background
This is how a font and box color of #842af4 hex color will look
on a black background.