#480f79 Color
Color Codes | |
---|---|
Hex Code | #480f79 |
RGB Code | rgb(72, 15, 121) |
HSL Code | hsl(272, 78%, 27%) |
#480f79 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(72, 15, 121); }
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(272, 78%, 27%); }
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 #480f79
RGB Code | Hex Code | Preview |
---|---|---|
rgb(72, 15, 121, 10%) | #480f791a | |
rgb(72, 15, 121, 20%) | #480f7933 | |
rgb(72, 15, 121, 40%) | #480f794C | |
rgb(72, 15, 121, 60%) | #480f7999 | |
rgb(72, 15, 121, 80%) | #480f79CC | |
rgb(72, 15, 121, 100%) | #480f79FF |
Saturated and desaturated colors of #480f79
HSL Code | Preview |
---|---|
hsl(272, 10%, 27%) | |
hsl(272, 20%, 27%) | |
hsl(272, 40%, 27%) | |
hsl(272, 60%, 27%) | |
hsl(272, 80%, 27%) | |
hsl(272, 100%, 27%) |
#480f79 Color Usage In CSS
body { color: #480f79; } p { color: rgb(72, 15, 121); } header { border-bottom:1px solid #480f79; }