#ab8fc7 Color
Color Codes | |
---|---|
Hex Code | #ab8fc7 |
RGB Code | rgb(171, 143, 199) |
HSL Code | hsl(270, 33%, 67%) |
#ab8fc7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(171, 143, 199); }
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(270, 33%, 67%); }
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 #ab8fc7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(171, 143, 199, 10%) | #ab8fc71a | |
rgb(171, 143, 199, 20%) | #ab8fc733 | |
rgb(171, 143, 199, 40%) | #ab8fc74C | |
rgb(171, 143, 199, 60%) | #ab8fc799 | |
rgb(171, 143, 199, 80%) | #ab8fc7CC | |
rgb(171, 143, 199, 100%) | #ab8fc7FF |
Saturated and desaturated colors of #ab8fc7
HSL Code | Preview |
---|---|
hsl(270, 10%, 67%) | |
hsl(270, 20%, 67%) | |
hsl(270, 40%, 67%) | |
hsl(270, 60%, 67%) | |
hsl(270, 80%, 67%) | |
hsl(270, 100%, 67%) |
#ab8fc7 Color Usage In CSS
body { color: #ab8fc7; } p { color: rgb(171, 143, 199); } header { border-bottom:1px solid #ab8fc7; }