In RGB color space, #8042d5 hex color has a red value of 128, a green value of 66 and a blue value of 213.
In CMYK color space (used in color printing), #8042d5 hex color is composed of 39.91% cyan, 69.01% magenta, 0% yellow and 16.47% black.
#8042d5 color has a hue of 265.3 degrees, a saturation of 63.64% and a lightness of 54.7%.
#8042d5 hex color contains mainly BLUE.
The closest web safe color of #8042d5 is #9933cc
#8042d5 hex color has a decimal value of 8405717.
HEX | 8042d5 | #8042d5 |
---|---|---|
RGB | 128, 66, 213 | rgb(128, 66, 213) |
RGB Percent | 50.2, 25.88, 83.53 | rgb(50.2, 25.88, 83.53) |
CMYK | 40, 69, 0, 16 | |
HSL | 265.3°, 63.64, 54.7 | hsl(265.3, 63.64%, 54.7%) |
HSV | 265.3°, 69, 83.5 |
XYZ | 22.861, 13.29, 64.311 |
---|---|
Hunter Lab | 36.455, 48.139, -79.075 |
CIE-LAB | 43.197, 55.789, -65.741 |
CIE-LCH | 43.197, 86.222, 310.319 |
CIE-LUV | 39.91, 69.01, 0, 16.47 |
Web Safe | 9933cc |
RGB percent of color #8042d5
CMYK percent of color #8042d5
Text with hexadecimal color #8042d5
This text has a font color of #8042d5
<p style="color:#8042d5">Text here</p>
#8042d5 Background Color
This box has a background color of #8042d5
<div style="background-color:#8042d5">Text here</div>
#8042d5 Border Color
This box has a border color of #8042d5
<div style="border: 4px solid #8042d5">Text here</div>
CSS codes
<p style="color:#8042d5">Text here</p>
<div style="background-color:#8042d5">Text here</div>
<div style="border: 4px solid #8042d5">Text here</div>
#8042d5 Color on white background
This is how a font and box color of #8042d5 will look
on a white background.
#8042d5 Color on black background
This is how a font and box color of #8042d5 hex color will look
on a black background.