In RGB color space, #7842ab hex color has a red value of 120, a green value of 66 and a blue value of 171.
In CMYK color space (used in color printing), #7842ab hex color is composed of 29.82% cyan, 61.4% magenta, 0% yellow and 32.94% black.
#7842ab color has a hue of 270.9 degrees, a saturation of 44.3% and a lightness of 46.5%.
#7842ab hex color contains mainly BLUE.
The closest web safe color of #7842ab is #663399
#7842ab hex color has a decimal value of 7881387.
HEX | 7842ab | #7842ab |
---|---|---|
RGB | 120, 66, 171 | rgb(120, 66, 171) |
RGB Percent | 47.06, 25.88, 67.06 | rgb(47.06, 25.88, 67.06) |
CMYK | 30, 61, 0, 33 | |
HSL | 270.9°, 44.3, 46.5 | hsl(270.9, 44.3%, 46.5%) |
HSV | 270.9°, 61.4, 67.1 |
XYZ | 17.045, 10.83, 39.72 |
---|---|
Hunter Lab | 32.909, 34.862, -48.525 |
CIE-LAB | 39.293, 43.631, -47.572 |
CIE-LCH | 39.293, 64.55, 312.526 |
CIE-LUV | 29.82, 61.4, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #7842ab
CMYK percent of color #7842ab
Text with hexadecimal color #7842ab
This text has a font color of #7842ab
<p style="color:#7842ab">Text here</p>
#7842ab Background Color
This box has a background color of #7842ab
<div style="background-color:#7842ab">Text here</div>
#7842ab Border Color
This box has a border color of #7842ab
<div style="border: 4px solid #7842ab">Text here</div>
CSS codes
<p style="color:#7842ab">Text here</p>
<div style="background-color:#7842ab">Text here</div>
<div style="border: 4px solid #7842ab">Text here</div>
#7842ab Color on white background
This is how a font and box color of #7842ab will look
on a white background.
#7842ab Color on black background
This is how a font and box color of #7842ab hex color will look
on a black background.