In RGB color space, #7e42a0 hex color has a red value of 126, a green value of 66 and a blue value of 160.
In CMYK color space (used in color printing), #7e42a0 hex color is composed of 21.25% cyan, 58.75% magenta, 0% yellow and 37.25% black.
#7e42a0 color has a hue of 278.3 degrees, a saturation of 41.59% and a lightness of 44.3%.
#7e42a0 hex color contains mainly BLUE.
The closest web safe color of #7e42a0 is #663399
#7e42a0 hex color has a decimal value of 8274592.
HEX | 7e42a0 | #7e42a0 |
---|---|---|
RGB | 126, 66, 160 | rgb(126, 66, 160) |
RGB Percent | 49.41, 25.88, 62.75 | rgb(49.41, 25.88, 62.75) |
CMYK | 21, 59, 0, 37 | |
HSL | 278.3°, 41.59, 44.3 | hsl(278.3, 41.59%, 44.3%) |
HSV | 278.3°, 58.8, 62.7 |
XYZ | 16.898, 10.87, 34.465 |
---|---|
Hunter Lab | 32.97, 33.79, -38.9 |
CIE-LAB | 39.361, 42.525, -40.853 |
CIE-LCH | 39.361, 58.969, 316.149 |
CIE-LUV | 21.25, 58.75, 0, 37.25 |
Web Safe | 663399 |
RGB percent of color #7e42a0
CMYK percent of color #7e42a0
Text with hexadecimal color #7e42a0
This text has a font color of #7e42a0
<p style="color:#7e42a0">Text here</p>
#7e42a0 Background Color
This box has a background color of #7e42a0
<div style="background-color:#7e42a0">Text here</div>
#7e42a0 Border Color
This box has a border color of #7e42a0
<div style="border: 4px solid #7e42a0">Text here</div>
CSS codes
<p style="color:#7e42a0">Text here</p>
<div style="background-color:#7e42a0">Text here</div>
<div style="border: 4px solid #7e42a0">Text here</div>
#7e42a0 Color on white background
This is how a font and box color of #7e42a0 will look
on a white background.
#7e42a0 Color on black background
This is how a font and box color of #7e42a0 hex color will look
on a black background.