In RGB color space, #8040a2 hex color has a red value of 128, a green value of 64 and a blue value of 162.
In CMYK color space (used in color printing), #8040a2 hex color is composed of 20.99% cyan, 60.49% magenta, 0% yellow and 36.47% black.
#8040a2 color has a hue of 279.2 degrees, a saturation of 43.36% and a lightness of 44.3%.
#8040a2 hex color contains mainly BLUE.
The closest web safe color of #8040a2 is #993399
#8040a2 hex color has a decimal value of 8405154.
HEX | 8040a2 | #8040a2 |
---|---|---|
RGB | 128, 64, 162 | rgb(128, 64, 162) |
RGB Percent | 50.2, 25.1, 63.53 | rgb(50.2, 25.1, 63.53) |
CMYK | 21, 60, 0, 36 | |
HSL | 279.2°, 43.36, 44.3 | hsl(279.2, 43.36%, 44.3%) |
HSV | 279.2°, 60.5, 63.5 |
XYZ | 17.257, 10.865, 35.37 |
---|---|
Hunter Lab | 32.962, 35.768, -40.548 |
CIE-LAB | 39.352, 44.539, -42.05 |
CIE-LCH | 39.352, 61.253, 316.647 |
CIE-LUV | 20.99, 60.49, 0, 36.47 |
Web Safe | 993399 |
RGB percent of color #8040a2
CMYK percent of color #8040a2
Text with hexadecimal color #8040a2
This text has a font color of #8040a2
<p style="color:#8040a2">Text here</p>
#8040a2 Background Color
This box has a background color of #8040a2
<div style="background-color:#8040a2">Text here</div>
#8040a2 Border Color
This box has a border color of #8040a2
<div style="border: 4px solid #8040a2">Text here</div>
CSS codes
<p style="color:#8040a2">Text here</p>
<div style="background-color:#8040a2">Text here</div>
<div style="border: 4px solid #8040a2">Text here</div>
#8040a2 Color on white background
This is how a font and box color of #8040a2 will look
on a white background.
#8040a2 Color on black background
This is how a font and box color of #8040a2 hex color will look
on a black background.