In RGB color space, #7e21b4 hex color has a red value of 126, a green value of 33 and a blue value of 180.
In CMYK color space (used in color printing), #7e21b4 hex color is composed of 30% cyan, 81.67% magenta, 0% yellow and 29.41% black.
#7e21b4 color has a hue of 278 degrees, a saturation of 69.01% and a lightness of 41.8%.
#7e21b4 hex color contains mainly BLUE.
The closest web safe color of #7e21b4 is #6633cc
#7e21b4 hex color has a decimal value of 8266164.
HEX | 7e21b4 | #7e21b4 |
---|---|---|
RGB | 126, 33, 180 | rgb(126, 33, 180) |
RGB Percent | 49.41, 12.94, 70.59 | rgb(49.41, 12.94, 70.59) |
CMYK | 30, 82, 0, 29 | |
HSL | 278°, 69.01, 41.8 | hsl(278, 69.01%, 41.8%) |
HSV | 278°, 81.7, 70.6 |
XYZ | 17.386, 8.819, 43.966 |
---|---|
Hunter Lab | 29.697, 52.533, -66.991 |
CIE-LAB | 35.633, 61.271, -58.802 |
CIE-LCH | 35.633, 84.922, 316.178 |
CIE-LUV | 30, 81.67, 0, 29.41 |
Web Safe | 6633cc |
RGB percent of color #7e21b4
CMYK percent of color #7e21b4
Text with hexadecimal color #7e21b4
This text has a font color of #7e21b4
<p style="color:#7e21b4">Text here</p>
#7e21b4 Background Color
This box has a background color of #7e21b4
<div style="background-color:#7e21b4">Text here</div>
#7e21b4 Border Color
This box has a border color of #7e21b4
<div style="border: 4px solid #7e21b4">Text here</div>
CSS codes
<p style="color:#7e21b4">Text here</p>
<div style="background-color:#7e21b4">Text here</div>
<div style="border: 4px solid #7e21b4">Text here</div>
#7e21b4 Color on white background
This is how a font and box color of #7e21b4 will look
on a white background.
#7e21b4 Color on black background
This is how a font and box color of #7e21b4 hex color will look
on a black background.