In RGB color space, #7e42ab hex color has a red value of 126, a green value of 66 and a blue value of 171.
In CMYK color space (used in color printing), #7e42ab hex color is composed of 26.32% cyan, 61.4% magenta, 0% yellow and 32.94% black.
#7e42ab color has a hue of 274.3 degrees, a saturation of 44.3% and a lightness of 46.5%.
#7e42ab hex color contains mainly BLUE.
The closest web safe color of #7e42ab is #663399
#7e42ab hex color has a decimal value of 8274603.
HEX | 7e42ab | #7e42ab |
---|---|---|
RGB | 126, 66, 171 | rgb(126, 66, 171) |
RGB Percent | 49.41, 25.88, 67.06 | rgb(49.41, 25.88, 67.06) |
CMYK | 26, 61, 0, 33 | |
HSL | 274.3°, 44.3, 46.5 | hsl(274.3, 44.3%, 46.5%) |
HSV | 274.3°, 61.4, 67.1 |
XYZ | 17.903, 11.272, 39.76 |
---|---|
Hunter Lab | 33.574, 36.43, -46.713 |
CIE-LAB | 40.035, 45.086, -46.341 |
CIE-LCH | 40.035, 64.655, 314.214 |
CIE-LUV | 26.32, 61.4, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #7e42ab
CMYK percent of color #7e42ab
Text with hexadecimal color #7e42ab
This text has a font color of #7e42ab
<p style="color:#7e42ab">Text here</p>
#7e42ab Background Color
This box has a background color of #7e42ab
<div style="background-color:#7e42ab">Text here</div>
#7e42ab Border Color
This box has a border color of #7e42ab
<div style="border: 4px solid #7e42ab">Text here</div>
CSS codes
<p style="color:#7e42ab">Text here</p>
<div style="background-color:#7e42ab">Text here</div>
<div style="border: 4px solid #7e42ab">Text here</div>
#7e42ab Color on white background
This is how a font and box color of #7e42ab will look
on a white background.
#7e42ab Color on black background
This is how a font and box color of #7e42ab hex color will look
on a black background.