#81509e Color
Color Codes | |
---|---|
Hex Code | #81509e |
RGB Code | rgb(129, 80, 158) |
HSL Code | hsl(278, 33%, 47%) |
#81509e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(129, 80, 158); }
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(278, 33%, 47%); }
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 #81509e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(129, 80, 158, 10%) | #81509e1a | |
rgb(129, 80, 158, 20%) | #81509e33 | |
rgb(129, 80, 158, 40%) | #81509e4C | |
rgb(129, 80, 158, 60%) | #81509e99 | |
rgb(129, 80, 158, 80%) | #81509eCC | |
rgb(129, 80, 158, 100%) | #81509eFF |
Saturated and desaturated colors of #81509e
HSL Code | Preview |
---|---|
hsl(278, 10%, 47%) | |
hsl(278, 20%, 47%) | |
hsl(278, 40%, 47%) | |
hsl(278, 60%, 47%) | |
hsl(278, 80%, 47%) | |
hsl(278, 100%, 47%) |
#81509e Color Usage In CSS
body { color: #81509e; } p { color: rgb(129, 80, 158); } header { border-bottom:1px solid #81509e; }