In RGB color space, #8040c4 hex color has a red value of 128, a green value of 64 and a blue value of 196.
In CMYK color space (used in color printing), #8040c4 hex color is composed of 34.69% cyan, 67.35% magenta, 0% yellow and 23.14% black.
#8040c4 color has a hue of 269.1 degrees, a saturation of 52.8% and a lightness of 51%.
#8040c4 hex color contains mainly BLUE.
The closest web safe color of #8040c4 is #9933cc
#8040c4 hex color has a decimal value of 8405188.
HEX | 8040c4 | #8040c4 |
---|---|---|
RGB | 128, 64, 196 | rgb(128, 64, 196) |
RGB Percent | 50.2, 25.1, 76.86 | rgb(50.2, 25.1, 76.86) |
CMYK | 35, 67, 0, 23 | |
HSL | 269.1°, 52.8, 51 | hsl(269.1, 52.8%, 51%) |
HSV | 269.1°, 67.3, 76.9 |
XYZ | 20.699, 12.242, 53.496 |
---|---|
Hunter Lab | 34.989, 44.369, -66.16 |
CIE-LAB | 41.598, 52.552, -58.509 |
CIE-LCH | 41.598, 78.645, 311.93 |
CIE-LUV | 34.69, 67.35, 0, 23.14 |
Web Safe | 9933cc |
RGB percent of color #8040c4
CMYK percent of color #8040c4
Text with hexadecimal color #8040c4
This text has a font color of #8040c4
<p style="color:#8040c4">Text here</p>
#8040c4 Background Color
This box has a background color of #8040c4
<div style="background-color:#8040c4">Text here</div>
#8040c4 Border Color
This box has a border color of #8040c4
<div style="border: 4px solid #8040c4">Text here</div>
CSS codes
<p style="color:#8040c4">Text here</p>
<div style="background-color:#8040c4">Text here</div>
<div style="border: 4px solid #8040c4">Text here</div>
#8040c4 Color on white background
This is how a font and box color of #8040c4 will look
on a white background.
#8040c4 Color on black background
This is how a font and box color of #8040c4 hex color will look
on a black background.