#af0888 Color
Color Codes | |
---|---|
Hex Code | #af0888 |
RGB Code | rgb(175, 08, 136) |
HSL Code | hsl(314, 91%, 36%) |
#af0888 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(175, 08, 136); }
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(314, 91%, 36%); }
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 #af0888
RGB Code | Hex Code | Preview |
---|---|---|
rgb(175, 08, 136, 10%) | #af08881a | |
rgb(175, 08, 136, 20%) | #af088833 | |
rgb(175, 08, 136, 40%) | #af08884C | |
rgb(175, 08, 136, 60%) | #af088899 | |
rgb(175, 08, 136, 80%) | #af0888CC | |
rgb(175, 08, 136, 100%) | #af0888FF |
Saturated and desaturated colors of #af0888
HSL Code | Preview |
---|---|
hsl(314, 10%, 36%) | |
hsl(314, 20%, 36%) | |
hsl(314, 40%, 36%) | |
hsl(314, 60%, 36%) | |
hsl(314, 80%, 36%) | |
hsl(314, 100%, 36%) |
#af0888 Color Usage In CSS
body { color: #af0888; } p { color: rgb(175, 08, 136); } header { border-bottom:1px solid #af0888; }