In RGB color space, #8040d8 hex color has a red value of 128, a green value of 64 and a blue value of 216.
In CMYK color space (used in color printing), #8040d8 hex color is composed of 40.74% cyan, 70.37% magenta, 0% yellow and 15.29% black.
#8040d8 color has a hue of 265.3 degrees, a saturation of 66.09% and a lightness of 54.9%.
#8040d8 hex color contains mainly BLUE.
The closest web safe color of #8040d8 is #9933cc
#8040d8 hex color has a decimal value of 8405208.
HEX | 8040d8 | #8040d8 |
---|---|---|
RGB | 128, 64, 216 | rgb(128, 64, 216) |
RGB Percent | 50.2, 25.1, 84.71 | rgb(50.2, 25.1, 84.71) |
CMYK | 41, 70, 0, 15 | |
HSL | 265.3°, 66.09, 54.9 | hsl(265.3, 66.09%, 54.9%) |
HSV | 265.3°, 70.4, 84.7 |
XYZ | 23.13, 13.214, 66.297 |
---|---|
Hunter Lab | 36.351, 49.964, -82.687 |
CIE-LAB | 43.084, 57.492, -67.646 |
CIE-LCH | 43.084, 88.777, 310.361 |
CIE-LUV | 40.74, 70.37, 0, 15.29 |
Web Safe | 9933cc |
RGB percent of color #8040d8
CMYK percent of color #8040d8
Text with hexadecimal color #8040d8
This text has a font color of #8040d8
<p style="color:#8040d8">Text here</p>
#8040d8 Background Color
This box has a background color of #8040d8
<div style="background-color:#8040d8">Text here</div>
#8040d8 Border Color
This box has a border color of #8040d8
<div style="border: 4px solid #8040d8">Text here</div>
CSS codes
<p style="color:#8040d8">Text here</p>
<div style="background-color:#8040d8">Text here</div>
<div style="border: 4px solid #8040d8">Text here</div>
#8040d8 Color on white background
This is how a font and box color of #8040d8 will look
on a white background.
#8040d8 Color on black background
This is how a font and box color of #8040d8 hex color will look
on a black background.