#d4b5fc Color
Color Codes | |
---|---|
Hex Code | #d4b5fc |
RGB Code | rgb(212, 181, 252) |
HSL Code | hsl(266, 92%, 85%) |
#d4b5fc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 181, 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(266, 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 #d4b5fc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 181, 252, 10%) | #d4b5fc1a | |
rgb(212, 181, 252, 20%) | #d4b5fc33 | |
rgb(212, 181, 252, 40%) | #d4b5fc4C | |
rgb(212, 181, 252, 60%) | #d4b5fc99 | |
rgb(212, 181, 252, 80%) | #d4b5fcCC | |
rgb(212, 181, 252, 100%) | #d4b5fcFF |
Saturated and desaturated colors of #d4b5fc
HSL Code | Preview |
---|---|
hsl(266, 10%, 85%) | |
hsl(266, 20%, 85%) | |
hsl(266, 40%, 85%) | |
hsl(266, 60%, 85%) | |
hsl(266, 80%, 85%) | |
hsl(266, 100%, 85%) |
#d4b5fc Color Usage In CSS
body { color: #d4b5fc; } p { color: rgb(212, 181, 252); } header { border-bottom:1px solid #d4b5fc; }