#790118 Color
Color Codes | |
---|---|
Hex Code | #790118 |
RGB Code | rgb(121, 01, 24) |
HSL Code | hsl(349, 98%, 24%) |
#790118 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 01, 24); }
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(349, 98%, 24%); }
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 #790118
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 01, 24, 10%) | #7901181a | |
rgb(121, 01, 24, 20%) | #79011833 | |
rgb(121, 01, 24, 40%) | #7901184C | |
rgb(121, 01, 24, 60%) | #79011899 | |
rgb(121, 01, 24, 80%) | #790118CC | |
rgb(121, 01, 24, 100%) | #790118FF |
Saturated and desaturated colors of #790118
HSL Code | Preview |
---|---|
hsl(349, 10%, 24%) | |
hsl(349, 20%, 24%) | |
hsl(349, 40%, 24%) | |
hsl(349, 60%, 24%) | |
hsl(349, 80%, 24%) | |
hsl(349, 100%, 24%) |
#790118 Color Usage In CSS
body { color: #790118; } p { color: rgb(121, 01, 24); } header { border-bottom:1px solid #790118; }