#cdbefd Color
Color Codes | |
---|---|
Hex Code | #cdbefd |
RGB Code | rgb(205, 190, 253) |
HSL Code | hsl(254, 94%, 87%) |
#cdbefd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 190, 253); }
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, 94%, 87%); }
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 #cdbefd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 190, 253, 10%) | #cdbefd1a | |
rgb(205, 190, 253, 20%) | #cdbefd33 | |
rgb(205, 190, 253, 40%) | #cdbefd4C | |
rgb(205, 190, 253, 60%) | #cdbefd99 | |
rgb(205, 190, 253, 80%) | #cdbefdCC | |
rgb(205, 190, 253, 100%) | #cdbefdFF |
Saturated and desaturated colors of #cdbefd
HSL Code | Preview |
---|---|
hsl(254, 10%, 87%) | |
hsl(254, 20%, 87%) | |
hsl(254, 40%, 87%) | |
hsl(254, 60%, 87%) | |
hsl(254, 80%, 87%) | |
hsl(254, 100%, 87%) |
#cdbefd Color Usage In CSS
body { color: #cdbefd; } p { color: rgb(205, 190, 253); } header { border-bottom:1px solid #cdbefd; }