In RGB color space, #7f40c4 hex color has a red value of 127, a green value of 64 and a blue value of 196.
In CMYK color space (used in color printing), #7f40c4 hex color is composed of 35.2% cyan, 67.35% magenta, 0% yellow and 23.14% black.
#7f40c4 color has a hue of 268.6 degrees, a saturation of 52.8% and a lightness of 51%.
#7f40c4 hex color contains mainly BLUE.
The closest web safe color of #7f40c4 is #6633cc
#7f40c4 hex color has a decimal value of 8339652.
HEX | 7f40c4 | #7f40c4 |
---|---|---|
RGB | 127, 64, 196 | rgb(127, 64, 196) |
RGB Percent | 49.8, 25.1, 76.86 | rgb(49.8, 25.1, 76.86) |
CMYK | 35, 67, 0, 23 | |
HSL | 268.6°, 52.8, 51 | hsl(268.6, 52.8%, 51%) |
HSV | 268.6°, 67.3, 76.9 |
XYZ | 20.55, 12.164, 53.489 |
---|---|
Hunter Lab | 34.877, 44.14, -66.516 |
CIE-LAB | 41.476, 52.357, -58.713 |
CIE-LCH | 41.476, 78.667, 311.725 |
CIE-LUV | 35.2, 67.35, 0, 23.14 |
Web Safe | 6633cc |
RGB percent of color #7f40c4
CMYK percent of color #7f40c4
Text with hexadecimal color #7f40c4
This text has a font color of #7f40c4
<p style="color:#7f40c4">Text here</p>
#7f40c4 Background Color
This box has a background color of #7f40c4
<div style="background-color:#7f40c4">Text here</div>
#7f40c4 Border Color
This box has a border color of #7f40c4
<div style="border: 4px solid #7f40c4">Text here</div>
CSS codes
<p style="color:#7f40c4">Text here</p>
<div style="background-color:#7f40c4">Text here</div>
<div style="border: 4px solid #7f40c4">Text here</div>
#7f40c4 Color on white background
This is how a font and box color of #7f40c4 will look
on a white background.
#7f40c4 Color on black background
This is how a font and box color of #7f40c4 hex color will look
on a black background.