#c388ca Color
Color Codes | |
---|---|
Hex Code | #c388ca |
RGB Code | rgb(195, 136, 202) |
HSL Code | hsl(294, 38%, 66%) |
#c388ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 136, 202); }
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(294, 38%, 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 #c388ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 136, 202, 10%) | #c388ca1a | |
rgb(195, 136, 202, 20%) | #c388ca33 | |
rgb(195, 136, 202, 40%) | #c388ca4C | |
rgb(195, 136, 202, 60%) | #c388ca99 | |
rgb(195, 136, 202, 80%) | #c388caCC | |
rgb(195, 136, 202, 100%) | #c388caFF |
Saturated and desaturated colors of #c388ca
HSL Code | Preview |
---|---|
hsl(294, 10%, 66%) | |
hsl(294, 20%, 66%) | |
hsl(294, 40%, 66%) | |
hsl(294, 60%, 66%) | |
hsl(294, 80%, 66%) | |
hsl(294, 100%, 66%) |
#c388ca Color Usage In CSS
body { color: #c388ca; } p { color: rgb(195, 136, 202); } header { border-bottom:1px solid #c388ca; }