#c3aedf Color
Color Codes | |
---|---|
Hex Code | #c3aedf |
RGB Code | rgb(195, 174, 223) |
HSL Code | hsl(266, 43%, 78%) |
#c3aedf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 174, 223); }
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(266, 43%, 78%); }
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 #c3aedf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 174, 223, 10%) | #c3aedf1a | |
rgb(195, 174, 223, 20%) | #c3aedf33 | |
rgb(195, 174, 223, 40%) | #c3aedf4C | |
rgb(195, 174, 223, 60%) | #c3aedf99 | |
rgb(195, 174, 223, 80%) | #c3aedfCC | |
rgb(195, 174, 223, 100%) | #c3aedfFF |
Saturated and desaturated colors of #c3aedf
HSL Code | Preview |
---|---|
hsl(266, 10%, 78%) | |
hsl(266, 20%, 78%) | |
hsl(266, 40%, 78%) | |
hsl(266, 60%, 78%) | |
hsl(266, 80%, 78%) | |
hsl(266, 100%, 78%) |
#c3aedf Color Usage In CSS
body { color: #c3aedf; } p { color: rgb(195, 174, 223); } header { border-bottom:1px solid #c3aedf; }