In RGB color space, #8040e4 hex color has a red value of 128, a green value of 64 and a blue value of 228.
In CMYK color space (used in color printing), #8040e4 hex color is composed of 43.86% cyan, 71.93% magenta, 0% yellow and 10.59% black.
#8040e4 color has a hue of 263.4 degrees, a saturation of 75.23% and a lightness of 57.3%.
#8040e4 hex color contains mainly BLUE.
The closest web safe color of #8040e4 is #9933cc
#8040e4 hex color has a decimal value of 8405220.
HEX | 8040e4 | #8040e4 |
---|---|---|
RGB | 128, 64, 228 | rgb(128, 64, 228) |
RGB Percent | 50.2, 25.1, 89.41 | rgb(50.2, 25.1, 89.41) |
CMYK | 44, 72, 0, 11 | |
HSL | 263.4°, 75.23, 57.3 | hsl(263.4, 75.23%, 57.3%) |
HSV | 263.4°, 71.9, 89.4 |
XYZ | 24.739, 13.857, 74.77 |
---|---|
Hunter Lab | 37.225, 53.484, -93.032 |
CIE-LAB | 44.027, 60.503, -72.954 |
CIE-LCH | 44.027, 94.778, 309.67 |
CIE-LUV | 43.86, 71.93, 0, 10.59 |
Web Safe | 9933cc |
RGB percent of color #8040e4
CMYK percent of color #8040e4
Text with hexadecimal color #8040e4
This text has a font color of #8040e4
<p style="color:#8040e4">Text here</p>
#8040e4 Background Color
This box has a background color of #8040e4
<div style="background-color:#8040e4">Text here</div>
#8040e4 Border Color
This box has a border color of #8040e4
<div style="border: 4px solid #8040e4">Text here</div>
CSS codes
<p style="color:#8040e4">Text here</p>
<div style="background-color:#8040e4">Text here</div>
<div style="border: 4px solid #8040e4">Text here</div>
#8040e4 Color on white background
This is how a font and box color of #8040e4 will look
on a white background.
#8040e4 Color on black background
This is how a font and box color of #8040e4 hex color will look
on a black background.