In RGB color space, #8040c0 hex color has a red value of 128, a green value of 64 and a blue value of 192.
In CMYK color space (used in color printing), #8040c0 hex color is composed of 33.33% cyan, 66.67% magenta, 0% yellow and 24.71% black.
#8040c0 color has a hue of 270 degrees, a saturation of 50.39% and a lightness of 50.2%.
#8040c0 hex color contains mainly BLUE.
The closest web safe color of #8040c0 is #9933cc
#8040c0 hex color has a decimal value of 8405184.
HEX | 8040c0 | #8040c0 |
---|---|---|
RGB | 128, 64, 192 | rgb(128, 64, 192) |
RGB Percent | 50.2, 25.1, 75.29 | rgb(50.2, 25.1, 75.29) |
CMYK | 33, 67, 0, 25 | |
HSL | 270°, 50.39, 50.2 | hsl(270, 50.39%, 50.2%) |
HSV | 270°, 66.7, 75.3 |
XYZ | 20.25, 12.062, 51.13 |
---|---|
Hunter Lab | 34.73, 43.299, -62.975 |
CIE-LAB | 41.314, 51.584, -56.636 |
CIE-LCH | 41.314, 76.606, 312.327 |
CIE-LUV | 33.33, 66.67, 0, 24.71 |
Web Safe | 9933cc |
RGB percent of color #8040c0
CMYK percent of color #8040c0
Text with hexadecimal color #8040c0
This text has a font color of #8040c0
<p style="color:#8040c0">Text here</p>
#8040c0 Background Color
This box has a background color of #8040c0
<div style="background-color:#8040c0">Text here</div>
#8040c0 Border Color
This box has a border color of #8040c0
<div style="border: 4px solid #8040c0">Text here</div>
CSS codes
<p style="color:#8040c0">Text here</p>
<div style="background-color:#8040c0">Text here</div>
<div style="border: 4px solid #8040c0">Text here</div>
#8040c0 Color on white background
This is how a font and box color of #8040c0 will look
on a white background.
#8040c0 Color on black background
This is how a font and box color of #8040c0 hex color will look
on a black background.