#797294 Color
Color Codes | |
---|---|
Hex Code | #797294 |
RGB Code | rgb(121, 114, 148) |
HSL Code | hsl(252, 14%, 51%) |
#797294 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 114, 148); }
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(252, 14%, 51%); }
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 #797294
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 114, 148, 10%) | #7972941a | |
rgb(121, 114, 148, 20%) | #79729433 | |
rgb(121, 114, 148, 40%) | #7972944C | |
rgb(121, 114, 148, 60%) | #79729499 | |
rgb(121, 114, 148, 80%) | #797294CC | |
rgb(121, 114, 148, 100%) | #797294FF |
Saturated and desaturated colors of #797294
HSL Code | Preview |
---|---|
hsl(252, 10%, 51%) | |
hsl(252, 20%, 51%) | |
hsl(252, 40%, 51%) | |
hsl(252, 60%, 51%) | |
hsl(252, 80%, 51%) | |
hsl(252, 100%, 51%) |
#797294 Color Usage In CSS
body { color: #797294; } p { color: rgb(121, 114, 148); } header { border-bottom:1px solid #797294; }