#79419c Color
Color Codes | |
---|---|
Hex Code | #79419c |
RGB Code | rgb(121, 65, 156) |
HSL Code | hsl(277, 41%, 43%) |
#79419c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 65, 156); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(277, 41%, 43%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #79419c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 65, 156, 10%) | #79419c1a | |
rgb(121, 65, 156, 20%) | #79419c33 | |
rgb(121, 65, 156, 40%) | #79419c4C | |
rgb(121, 65, 156, 60%) | #79419c99 | |
rgb(121, 65, 156, 80%) | #79419cCC | |
rgb(121, 65, 156, 100%) | #79419cFF |
Saturated and desaturated colors of #79419c
HSL Code | Preview |
---|---|
hsl(277, 10%, 43%) | |
hsl(277, 20%, 43%) | |
hsl(277, 40%, 43%) | |
hsl(277, 60%, 43%) | |
hsl(277, 80%, 43%) | |
hsl(277, 100%, 43%) |
#79419c Color Usage In CSS
body { color: #79419c; } p { color: rgb(121, 65, 156); } header { border-bottom:1px solid #79419c; }