In RGB color space, #7e42b0 hex color has a red value of 126, a green value of 66 and a blue value of 176.
In CMYK color space (used in color printing), #7e42b0 hex color is composed of 28.41% cyan, 62.5% magenta, 0% yellow and 30.98% black.
#7e42b0 color has a hue of 272.7 degrees, a saturation of 45.45% and a lightness of 47.5%.
#7e42b0 hex color contains mainly BLUE.
The closest web safe color of #7e42b0 is #663399
#7e42b0 hex color has a decimal value of 8274608.
HEX | 7e42b0 | #7e42b0 |
---|---|---|
RGB | 126, 66, 176 | rgb(126, 66, 176) |
RGB Percent | 49.41, 25.88, 69.02 | rgb(49.41, 25.88, 69.02) |
CMYK | 28, 63, 0, 31 | |
HSL | 272.7°, 45.45, 47.5 | hsl(272.7, 45.45%, 47.5%) |
HSV | 272.7°, 62.5, 69 |
XYZ | 18.389, 11.467, 42.318 |
---|---|
Hunter Lab | 33.863, 37.673, -50.39 |
CIE-LAB | 40.356, 46.271, -48.789 |
CIE-LCH | 40.356, 67.241, 313.483 |
CIE-LUV | 28.41, 62.5, 0, 30.98 |
Web Safe | 663399 |
RGB percent of color #7e42b0
CMYK percent of color #7e42b0
Text with hexadecimal color #7e42b0
This text has a font color of #7e42b0
<p style="color:#7e42b0">Text here</p>
#7e42b0 Background Color
This box has a background color of #7e42b0
<div style="background-color:#7e42b0">Text here</div>
#7e42b0 Border Color
This box has a border color of #7e42b0
<div style="border: 4px solid #7e42b0">Text here</div>
CSS codes
<p style="color:#7e42b0">Text here</p>
<div style="background-color:#7e42b0">Text here</div>
<div style="border: 4px solid #7e42b0">Text here</div>
#7e42b0 Color on white background
This is how a font and box color of #7e42b0 will look
on a white background.
#7e42b0 Color on black background
This is how a font and box color of #7e42b0 hex color will look
on a black background.