In RGB color space, #7e42b8 hex color has a red value of 126, a green value of 66 and a blue value of 184.
In CMYK color space (used in color printing), #7e42b8 hex color is composed of 31.52% cyan, 64.13% magenta, 0% yellow and 27.84% black.
#7e42b8 color has a hue of 270.5 degrees, a saturation of 47.2% and a lightness of 49%.
#7e42b8 hex color contains mainly BLUE.
The closest web safe color of #7e42b8 is #6633cc
#7e42b8 hex color has a decimal value of 8274616.
HEX | 7e42b8 | #7e42b8 |
---|---|---|
RGB | 126, 66, 184 | rgb(126, 66, 184) |
RGB Percent | 49.41, 25.88, 72.16 | rgb(49.41, 25.88, 72.16) |
CMYK | 32, 64, 0, 28 | |
HSL | 270.5°, 47.2, 49 | hsl(270.5, 47.2%, 49%) |
HSV | 270.5°, 64.1, 72.2 |
XYZ | 19.204, 11.793, 46.611 |
---|---|
Hunter Lab | 34.341, 39.723, -56.436 |
CIE-LAB | 40.885, 48.201, -52.654 |
CIE-LCH | 40.885, 71.385, 312.472 |
CIE-LUV | 31.52, 64.13, 0, 27.84 |
Web Safe | 6633cc |
RGB percent of color #7e42b8
CMYK percent of color #7e42b8
Text with hexadecimal color #7e42b8
This text has a font color of #7e42b8
<p style="color:#7e42b8">Text here</p>
#7e42b8 Background Color
This box has a background color of #7e42b8
<div style="background-color:#7e42b8">Text here</div>
#7e42b8 Border Color
This box has a border color of #7e42b8
<div style="border: 4px solid #7e42b8">Text here</div>
CSS codes
<p style="color:#7e42b8">Text here</p>
<div style="background-color:#7e42b8">Text here</div>
<div style="border: 4px solid #7e42b8">Text here</div>
#7e42b8 Color on white background
This is how a font and box color of #7e42b8 will look
on a white background.
#7e42b8 Color on black background
This is how a font and box color of #7e42b8 hex color will look
on a black background.