In RGB color space, #7e40c2 hex color has a red value of 126, a green value of 64 and a blue value of 194.
In CMYK color space (used in color printing), #7e40c2 hex color is composed of 35.05% cyan, 67.01% magenta, 0% yellow and 23.92% black.
#7e40c2 color has a hue of 268.6 degrees, a saturation of 51.59% and a lightness of 50.6%.
#7e40c2 hex color contains mainly BLUE.
The closest web safe color of #7e40c2 is #6633cc
#7e40c2 hex color has a decimal value of 8274114.
HEX | 7e40c2 | #7e40c2 |
---|---|---|
RGB | 126, 64, 194 | rgb(126, 64, 194) |
RGB Percent | 49.41, 25.1, 76.08 | rgb(49.41, 25.1, 76.08) |
CMYK | 35, 67, 0, 24 | |
HSL | 268.6°, 51.59, 50.6 | hsl(268.6, 51.59%, 50.6%) |
HSV | 268.6°, 67, 76.1 |
XYZ | 20.175, 11.997, 52.291 |
---|---|
Hunter Lab | 34.637, 43.358, -65.264 |
CIE-LAB | 41.211, 51.659, -57.982 |
CIE-LCH | 41.211, 77.657, 311.699 |
CIE-LUV | 35.05, 67.01, 0, 23.92 |
Web Safe | 6633cc |
RGB percent of color #7e40c2
CMYK percent of color #7e40c2
Text with hexadecimal color #7e40c2
This text has a font color of #7e40c2
<p style="color:#7e40c2">Text here</p>
#7e40c2 Background Color
This box has a background color of #7e40c2
<div style="background-color:#7e40c2">Text here</div>
#7e40c2 Border Color
This box has a border color of #7e40c2
<div style="border: 4px solid #7e40c2">Text here</div>
CSS codes
<p style="color:#7e40c2">Text here</p>
<div style="background-color:#7e40c2">Text here</div>
<div style="border: 4px solid #7e40c2">Text here</div>
#7e40c2 Color on white background
This is how a font and box color of #7e40c2 will look
on a white background.
#7e40c2 Color on black background
This is how a font and box color of #7e40c2 hex color will look
on a black background.