#c6b6fc Color
Color Codes | |
---|---|
Hex Code | #c6b6fc |
RGB Code | rgb(198, 182, 252) |
HSL Code | hsl(254, 92%, 85%) |
#c6b6fc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(198, 182, 252); }
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(254, 92%, 85%); }
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 #c6b6fc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(198, 182, 252, 10%) | #c6b6fc1a | |
rgb(198, 182, 252, 20%) | #c6b6fc33 | |
rgb(198, 182, 252, 40%) | #c6b6fc4C | |
rgb(198, 182, 252, 60%) | #c6b6fc99 | |
rgb(198, 182, 252, 80%) | #c6b6fcCC | |
rgb(198, 182, 252, 100%) | #c6b6fcFF |
Saturated and desaturated colors of #c6b6fc
HSL Code | Preview |
---|---|
hsl(254, 10%, 85%) | |
hsl(254, 20%, 85%) | |
hsl(254, 40%, 85%) | |
hsl(254, 60%, 85%) | |
hsl(254, 80%, 85%) | |
hsl(254, 100%, 85%) |
#c6b6fc Color Usage In CSS
body { color: #c6b6fc; } p { color: rgb(198, 182, 252); } header { border-bottom:1px solid #c6b6fc; }