In RGB color space, #7f40d8 hex color has a red value of 127, a green value of 64 and a blue value of 216.
In CMYK color space (used in color printing), #7f40d8 hex color is composed of 41.2% cyan, 70.37% magenta, 0% yellow and 15.29% black.
#7f40d8 color has a hue of 264.9 degrees, a saturation of 66.09% and a lightness of 54.9%.
#7f40d8 hex color contains mainly BLUE.
The closest web safe color of #7f40d8 is #6633cc
#7f40d8 hex color has a decimal value of 8339672.
HEX | 7f40d8 | #7f40d8 |
---|---|---|
RGB | 127, 64, 216 | rgb(127, 64, 216) |
RGB Percent | 49.8, 25.1, 84.71 | rgb(49.8, 25.1, 84.71) |
CMYK | 41, 70, 0, 15 | |
HSL | 264.9°, 66.09, 54.9 | hsl(264.9, 66.09%, 54.9%) |
HSV | 264.9°, 70.4, 84.7 |
XYZ | 22.98, 13.137, 66.29 |
---|---|
Hunter Lab | 36.245, 49.744, -83.066 |
CIE-LAB | 42.969, 57.311, -67.838 |
CIE-LCH | 42.969, 88.806, 310.192 |
CIE-LUV | 41.2, 70.37, 0, 15.29 |
Web Safe | 6633cc |
RGB percent of color #7f40d8
CMYK percent of color #7f40d8
Text with hexadecimal color #7f40d8
This text has a font color of #7f40d8
<p style="color:#7f40d8">Text here</p>
#7f40d8 Background Color
This box has a background color of #7f40d8
<div style="background-color:#7f40d8">Text here</div>
#7f40d8 Border Color
This box has a border color of #7f40d8
<div style="border: 4px solid #7f40d8">Text here</div>
CSS codes
<p style="color:#7f40d8">Text here</p>
<div style="background-color:#7f40d8">Text here</div>
<div style="border: 4px solid #7f40d8">Text here</div>
#7f40d8 Color on white background
This is how a font and box color of #7f40d8 will look
on a white background.
#7f40d8 Color on black background
This is how a font and box color of #7f40d8 hex color will look
on a black background.