#ab9dd2 Color
Color Codes | |
---|---|
Hex Code | #ab9dd2 |
RGB Code | rgb(171, 157, 210) |
HSL Code | hsl(256, 37%, 72%) |
#ab9dd2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(171, 157, 210); }
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(256, 37%, 72%); }
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 #ab9dd2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(171, 157, 210, 10%) | #ab9dd21a | |
rgb(171, 157, 210, 20%) | #ab9dd233 | |
rgb(171, 157, 210, 40%) | #ab9dd24C | |
rgb(171, 157, 210, 60%) | #ab9dd299 | |
rgb(171, 157, 210, 80%) | #ab9dd2CC | |
rgb(171, 157, 210, 100%) | #ab9dd2FF |
Saturated and desaturated colors of #ab9dd2
HSL Code | Preview |
---|---|
hsl(256, 10%, 72%) | |
hsl(256, 20%, 72%) | |
hsl(256, 40%, 72%) | |
hsl(256, 60%, 72%) | |
hsl(256, 80%, 72%) | |
hsl(256, 100%, 72%) |
#ab9dd2 Color Usage In CSS
body { color: #ab9dd2; } p { color: rgb(171, 157, 210); } header { border-bottom:1px solid #ab9dd2; }