#c780d7 Color
Color Codes | |
---|---|
Hex Code | #c780d7 |
RGB Code | rgb(199, 128, 215) |
HSL Code | hsl(289, 52%, 67%) |
#c780d7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(199, 128, 215); }
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(289, 52%, 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 #c780d7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(199, 128, 215, 10%) | #c780d71a | |
rgb(199, 128, 215, 20%) | #c780d733 | |
rgb(199, 128, 215, 40%) | #c780d74C | |
rgb(199, 128, 215, 60%) | #c780d799 | |
rgb(199, 128, 215, 80%) | #c780d7CC | |
rgb(199, 128, 215, 100%) | #c780d7FF |
Saturated and desaturated colors of #c780d7
HSL Code | Preview |
---|---|
hsl(289, 10%, 67%) | |
hsl(289, 20%, 67%) | |
hsl(289, 40%, 67%) | |
hsl(289, 60%, 67%) | |
hsl(289, 80%, 67%) | |
hsl(289, 100%, 67%) |
#c780d7 Color Usage In CSS
body { color: #c780d7; } p { color: rgb(199, 128, 215); } header { border-bottom:1px solid #c780d7; }