In RGB color space, #7f40d4 hex color has a red value of 127, a green value of 64 and a blue value of 212.
In CMYK color space (used in color printing), #7f40d4 hex color is composed of 40.09% cyan, 69.81% magenta, 0% yellow and 16.86% black.
#7f40d4 color has a hue of 265.5 degrees, a saturation of 63.25% and a lightness of 54.1%.
#7f40d4 hex color contains mainly BLUE.
The closest web safe color of #7f40d4 is #6633cc
#7f40d4 hex color has a decimal value of 8339668.
HEX | 7f40d4 | #7f40d4 |
---|---|---|
RGB | 127, 64, 212 | rgb(127, 64, 212) |
RGB Percent | 49.8, 25.1, 83.14 | rgb(49.8, 25.1, 83.14) |
CMYK | 40, 70, 0, 17 | |
HSL | 265.5°, 63.25, 54.1 | hsl(265.5, 63.25%, 54.1%) |
HSV | 265.5°, 69.8, 83.1 |
XYZ | 22.469, 12.932, 63.599 |
---|---|
Hunter Lab | 35.961, 48.597, -79.685 |
CIE-LAB | 42.661, 56.314, -66.045 |
CIE-LCH | 42.661, 86.794, 310.453 |
CIE-LUV | 40.09, 69.81, 0, 16.86 |
Web Safe | 6633cc |
RGB percent of color #7f40d4
CMYK percent of color #7f40d4
Text with hexadecimal color #7f40d4
This text has a font color of #7f40d4
<p style="color:#7f40d4">Text here</p>
#7f40d4 Background Color
This box has a background color of #7f40d4
<div style="background-color:#7f40d4">Text here</div>
#7f40d4 Border Color
This box has a border color of #7f40d4
<div style="border: 4px solid #7f40d4">Text here</div>
CSS codes
<p style="color:#7f40d4">Text here</p>
<div style="background-color:#7f40d4">Text here</div>
<div style="border: 4px solid #7f40d4">Text here</div>
#7f40d4 Color on white background
This is how a font and box color of #7f40d4 will look
on a white background.
#7f40d4 Color on black background
This is how a font and box color of #7f40d4 hex color will look
on a black background.