#af94b7 Color
Color Codes | |
---|---|
Hex Code | #af94b7 |
RGB Code | rgb(175, 148, 183) |
HSL Code | hsl(286, 20%, 65%) |
#af94b7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(175, 148, 183); }
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(286, 20%, 65%); }
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 #af94b7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(175, 148, 183, 10%) | #af94b71a | |
rgb(175, 148, 183, 20%) | #af94b733 | |
rgb(175, 148, 183, 40%) | #af94b74C | |
rgb(175, 148, 183, 60%) | #af94b799 | |
rgb(175, 148, 183, 80%) | #af94b7CC | |
rgb(175, 148, 183, 100%) | #af94b7FF |
Saturated and desaturated colors of #af94b7
HSL Code | Preview |
---|---|
hsl(286, 10%, 65%) | |
hsl(286, 20%, 65%) | |
hsl(286, 40%, 65%) | |
hsl(286, 60%, 65%) | |
hsl(286, 80%, 65%) | |
hsl(286, 100%, 65%) |
#af94b7 Color Usage In CSS
body { color: #af94b7; } p { color: rgb(175, 148, 183); } header { border-bottom:1px solid #af94b7; }