#ca86bc Color
Color Codes | |
---|---|
Hex Code | #ca86bc |
RGB Code | rgb(202, 134, 188) |
HSL Code | hsl(312, 39%, 66%) |
#ca86bc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(202, 134, 188); }
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(312, 39%, 66%); }
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 #ca86bc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(202, 134, 188, 10%) | #ca86bc1a | |
rgb(202, 134, 188, 20%) | #ca86bc33 | |
rgb(202, 134, 188, 40%) | #ca86bc4C | |
rgb(202, 134, 188, 60%) | #ca86bc99 | |
rgb(202, 134, 188, 80%) | #ca86bcCC | |
rgb(202, 134, 188, 100%) | #ca86bcFF |
Saturated and desaturated colors of #ca86bc
HSL Code | Preview |
---|---|
hsl(312, 10%, 66%) | |
hsl(312, 20%, 66%) | |
hsl(312, 40%, 66%) | |
hsl(312, 60%, 66%) | |
hsl(312, 80%, 66%) | |
hsl(312, 100%, 66%) |
#ca86bc Color Usage In CSS
body { color: #ca86bc; } p { color: rgb(202, 134, 188); } header { border-bottom:1px solid #ca86bc; }