In RGB color space, #7e42c9 hex color has a red value of 126, a green value of 66 and a blue value of 201.
In CMYK color space (used in color printing), #7e42c9 hex color is composed of 37.31% cyan, 67.16% magenta, 0% yellow and 21.18% black.
#7e42c9 color has a hue of 266.7 degrees, a saturation of 55.56% and a lightness of 52.4%.
#7e42c9 hex color contains mainly BLUE.
The closest web safe color of #7e42c9 is #6633cc
#7e42c9 hex color has a decimal value of 8274633.
HEX | 7e42c9 | #7e42c9 |
---|---|---|
RGB | 126, 66, 201 | rgb(126, 66, 201) |
RGB Percent | 49.41, 25.88, 78.82 | rgb(49.41, 25.88, 78.82) |
CMYK | 37, 67, 0, 21 | |
HSL | 266.7°, 55.56, 52.4 | hsl(266.7, 55.56%, 52.4%) |
HSV | 266.7°, 67.2, 78.8 |
XYZ | 21.095, 12.549, 56.569 |
---|---|
Hunter Lab | 35.425, 44.302, -69.882 |
CIE-LAB | 42.076, 52.4, -60.651 |
CIE-LCH | 42.076, 80.152, 310.826 |
CIE-LUV | 37.31, 67.16, 0, 21.18 |
Web Safe | 6633cc |
RGB percent of color #7e42c9
CMYK percent of color #7e42c9
Text with hexadecimal color #7e42c9
This text has a font color of #7e42c9
<p style="color:#7e42c9">Text here</p>
#7e42c9 Background Color
This box has a background color of #7e42c9
<div style="background-color:#7e42c9">Text here</div>
#7e42c9 Border Color
This box has a border color of #7e42c9
<div style="border: 4px solid #7e42c9">Text here</div>
CSS codes
<p style="color:#7e42c9">Text here</p>
<div style="background-color:#7e42c9">Text here</div>
<div style="border: 4px solid #7e42c9">Text here</div>
#7e42c9 Color on white background
This is how a font and box color of #7e42c9 will look
on a white background.
#7e42c9 Color on black background
This is how a font and box color of #7e42c9 hex color will look
on a black background.