In RGB color space, #8040b8 hex color has a red value of 128, a green value of 64 and a blue value of 184.
In CMYK color space (used in color printing), #8040b8 hex color is composed of 30.43% cyan, 65.22% magenta, 0% yellow and 27.84% black.
#8040b8 color has a hue of 272 degrees, a saturation of 48.39% and a lightness of 48.6%.
#8040b8 hex color contains mainly BLUE.
The closest web safe color of #8040b8 is #9933cc
#8040b8 hex color has a decimal value of 8405176.
HEX | 8040b8 | #8040b8 |
---|---|---|
RGB | 128, 64, 184 | rgb(128, 64, 184) |
RGB Percent | 50.2, 25.1, 72.16 | rgb(50.2, 25.1, 72.16) |
CMYK | 30, 65, 0, 28 | |
HSL | 272°, 48.39, 48.6 | hsl(272, 48.39%, 48.6%) |
HSV | 272°, 65.2, 72.2 |
XYZ | 19.387, 11.717, 46.587 |
---|---|
Hunter Lab | 34.23, 41.195, -56.732 |
CIE-LAB | 40.763, 49.658, -52.84 |
CIE-LCH | 40.763, 72.512, 313.222 |
CIE-LUV | 30.43, 65.22, 0, 27.84 |
Web Safe | 9933cc |
RGB percent of color #8040b8
CMYK percent of color #8040b8
Text with hexadecimal color #8040b8
This text has a font color of #8040b8
<p style="color:#8040b8">Text here</p>
#8040b8 Background Color
This box has a background color of #8040b8
<div style="background-color:#8040b8">Text here</div>
#8040b8 Border Color
This box has a border color of #8040b8
<div style="border: 4px solid #8040b8">Text here</div>
CSS codes
<p style="color:#8040b8">Text here</p>
<div style="background-color:#8040b8">Text here</div>
<div style="border: 4px solid #8040b8">Text here</div>
#8040b8 Color on white background
This is how a font and box color of #8040b8 will look
on a white background.
#8040b8 Color on black background
This is how a font and box color of #8040b8 hex color will look
on a black background.