In RGB color space, #7f51b3 hex color has a red value of 127, a green value of 81 and a blue value of 179.
In CMYK color space (used in color printing), #7f51b3 hex color is composed of 29.05% cyan, 54.75% magenta, 0% yellow and 29.8% black.
#7f51b3 color has a hue of 268.2 degrees, a saturation of 39.2% and a lightness of 51%.
#7f51b3 hex color contains mainly BLUE.
The closest web safe color of #7f51b3 is #6666cc
#7f51b3 hex color has a decimal value of 8343987.
HEX | 7f51b3 | #7f51b3 |
---|---|---|
RGB | 127, 81, 179 | rgb(127, 81, 179) |
RGB Percent | 49.8, 31.76, 70.2 | rgb(49.8, 31.76, 70.2) |
CMYK | 29, 55, 0, 30 | |
HSL | 268.2°, 39.2, 51 | hsl(268.2, 39.2%, 51%) |
HSV | 268.2°, 54.7, 70.2 |
XYZ | 19.832, 13.652, 44.238 |
---|---|
Hunter Lab | 36.949, 31.149, -45.123 |
CIE-LAB | 43.73, 39.105, -45.147 |
CIE-LCH | 43.73, 59.728, 310.898 |
CIE-LUV | 29.05, 54.75, 0, 29.8 |
Web Safe | 6666cc |
RGB percent of color #7f51b3
CMYK percent of color #7f51b3
Text with hexadecimal color #7f51b3
This text has a font color of #7f51b3
<p style="color:#7f51b3">Text here</p>
#7f51b3 Background Color
This box has a background color of #7f51b3
<div style="background-color:#7f51b3">Text here</div>
#7f51b3 Border Color
This box has a border color of #7f51b3
<div style="border: 4px solid #7f51b3">Text here</div>
CSS codes
<p style="color:#7f51b3">Text here</p>
<div style="background-color:#7f51b3">Text here</div>
<div style="border: 4px solid #7f51b3">Text here</div>
#7f51b3 Color on white background
This is how a font and box color of #7f51b3 will look
on a white background.
#7f51b3 Color on black background
This is how a font and box color of #7f51b3 hex color will look
on a black background.