In RGB color space, #7e51a2 hex color has a red value of 126, a green value of 81 and a blue value of 162.
In CMYK color space (used in color printing), #7e51a2 hex color is composed of 22.22% cyan, 50% magenta, 0% yellow and 36.47% black.
#7e51a2 color has a hue of 273.3 degrees, a saturation of 33.33% and a lightness of 47.6%.
#7e51a2 hex color contains mainly BLUE.
The closest web safe color of #7e51a2 is #666699
#7e51a2 hex color has a decimal value of 8278434.
HEX | 7e51a2 | #7e51a2 |
---|---|---|
RGB | 126, 81, 162 | rgb(126, 81, 162) |
RGB Percent | 49.41, 31.76, 63.53 | rgb(49.41, 31.76, 63.53) |
CMYK | 22, 50, 0, 36 | |
HSL | 273.3°, 33.33, 47.6 | hsl(273.3, 33.33%, 47.6%) |
HSV | 273.3°, 50, 63.5 |
XYZ | 18.068, 12.929, 35.726 |
---|---|
Hunter Lab | 35.957, 26.77, -33.739 |
CIE-LAB | 42.656, 34.665, -36.813 |
CIE-LCH | 42.656, 50.565, 313.279 |
CIE-LUV | 22.22, 50, 0, 36.47 |
Web Safe | 666699 |
RGB percent of color #7e51a2
CMYK percent of color #7e51a2
Text with hexadecimal color #7e51a2
This text has a font color of #7e51a2
<p style="color:#7e51a2">Text here</p>
#7e51a2 Background Color
This box has a background color of #7e51a2
<div style="background-color:#7e51a2">Text here</div>
#7e51a2 Border Color
This box has a border color of #7e51a2
<div style="border: 4px solid #7e51a2">Text here</div>
CSS codes
<p style="color:#7e51a2">Text here</p>
<div style="background-color:#7e51a2">Text here</div>
<div style="border: 4px solid #7e51a2">Text here</div>
#7e51a2 Color on white background
This is how a font and box color of #7e51a2 will look
on a white background.
#7e51a2 Color on black background
This is how a font and box color of #7e51a2 hex color will look
on a black background.