In RGB color space, #8040ff hex color has a red value of 128, a green value of 64 and a blue value of 255.
In CMYK color space (used in color printing), #8040ff hex color is composed of 49.8% cyan, 74.9% magenta, 0% yellow and 0% black.
#8040ff color has a hue of 260.1 degrees, a saturation of 100% and a lightness of 62.5%.
#8040ff hex color contains mainly BLUE.
The closest web safe color of #8040ff is #9933ff
#8040ff hex color has a decimal value of 8405247.
HEX | 8040ff | #8040ff |
---|---|---|
RGB | 128, 64, 255 | rgb(128, 64, 255) |
RGB Percent | 50.2, 25.1, 100 | rgb(50.2, 25.1, 100) |
CMYK | 50, 75, 0, 0 | |
HSL | 260.1°, 100, 62.5 | hsl(260.1, 100%, 62.5%) |
HSV | 260.1°, 74.9, 100 |
XYZ | 28.785, 15.476, 96.078 |
---|---|
Hunter Lab | 39.34, 61.765, -117.265 |
CIE-LAB | 46.279, 67.328, -84.452 |
CIE-LCH | 46.279, 108.006, 308.563 |
CIE-LUV | 49.8, 74.9, 0, 0 |
Web Safe | 9933ff |
RGB percent of color #8040ff
CMYK percent of color #8040ff
Text with hexadecimal color #8040ff
This text has a font color of #8040ff
<p style="color:#8040ff">Text here</p>
#8040ff Background Color
This box has a background color of #8040ff
<div style="background-color:#8040ff">Text here</div>
#8040ff Border Color
This box has a border color of #8040ff
<div style="border: 4px solid #8040ff">Text here</div>
CSS codes
<p style="color:#8040ff">Text here</p>
<div style="background-color:#8040ff">Text here</div>
<div style="border: 4px solid #8040ff">Text here</div>
#8040ff Color on white background
This is how a font and box color of #8040ff will look
on a white background.
#8040ff Color on black background
This is how a font and box color of #8040ff hex color will look
on a black background.