#c776bc Color
Color Codes | |
---|---|
Hex Code | #c776bc |
RGB Code | rgb(199, 118, 188) |
HSL Code | hsl(308, 42%, 62%) |
#c776bc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(199, 118, 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(308, 42%, 62%); }
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 #c776bc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(199, 118, 188, 10%) | #c776bc1a | |
rgb(199, 118, 188, 20%) | #c776bc33 | |
rgb(199, 118, 188, 40%) | #c776bc4C | |
rgb(199, 118, 188, 60%) | #c776bc99 | |
rgb(199, 118, 188, 80%) | #c776bcCC | |
rgb(199, 118, 188, 100%) | #c776bcFF |
Saturated and desaturated colors of #c776bc
HSL Code | Preview |
---|---|
hsl(308, 10%, 62%) | |
hsl(308, 20%, 62%) | |
hsl(308, 40%, 62%) | |
hsl(308, 60%, 62%) | |
hsl(308, 80%, 62%) | |
hsl(308, 100%, 62%) |
#c776bc Color Usage In CSS
body { color: #c776bc; } p { color: rgb(199, 118, 188); } header { border-bottom:1px solid #c776bc; }