In RGB color space, #8040ef hex color has a red value of 128, a green value of 64 and a blue value of 239.
In CMYK color space (used in color printing), #8040ef hex color is composed of 46.44% cyan, 73.22% magenta, 0% yellow and 6.27% black.
#8040ef color has a hue of 261.9 degrees, a saturation of 84.54% and a lightness of 59.4%.
#8040ef hex color contains mainly BLUE.
The closest web safe color of #8040ef is #9933ff
#8040ef hex color has a decimal value of 8405231.
HEX | 8040ef | #8040ef |
---|---|---|
RGB | 128, 64, 239 | rgb(128, 64, 239) |
RGB Percent | 50.2, 25.1, 93.73 | rgb(50.2, 25.1, 93.73) |
CMYK | 46, 73, 0, 6 | |
HSL | 261.9°, 84.54, 59.4 | hsl(261.9, 84.54%, 59.4%) |
HSV | 261.9°, 73.2, 93.7 |
XYZ | 26.315, 14.488, 83.071 |
---|---|
Hunter Lab | 38.063, 56.796, -102.754 |
CIE-LAB | 44.925, 63.274, -77.708 |
CIE-LCH | 44.925, 100.21, 309.154 |
CIE-LUV | 46.44, 73.22, 0, 6.27 |
Web Safe | 9933ff |
RGB percent of color #8040ef
CMYK percent of color #8040ef
Text with hexadecimal color #8040ef
This text has a font color of #8040ef
<p style="color:#8040ef">Text here</p>
#8040ef Background Color
This box has a background color of #8040ef
<div style="background-color:#8040ef">Text here</div>
#8040ef Border Color
This box has a border color of #8040ef
<div style="border: 4px solid #8040ef">Text here</div>
CSS codes
<p style="color:#8040ef">Text here</p>
<div style="background-color:#8040ef">Text here</div>
<div style="border: 4px solid #8040ef">Text here</div>
#8040ef Color on white background
This is how a font and box color of #8040ef will look
on a white background.
#8040ef Color on black background
This is how a font and box color of #8040ef hex color will look
on a black background.