#d46de2 Color
Color Codes | |
---|---|
Hex Code | #d46de2 |
RGB Code | rgb(212, 109, 226) |
HSL Code | hsl(293, 67%, 66%) |
#d46de2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 109, 226); }
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(293, 67%, 66%); }
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 #d46de2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 109, 226, 10%) | #d46de21a | |
rgb(212, 109, 226, 20%) | #d46de233 | |
rgb(212, 109, 226, 40%) | #d46de24C | |
rgb(212, 109, 226, 60%) | #d46de299 | |
rgb(212, 109, 226, 80%) | #d46de2CC | |
rgb(212, 109, 226, 100%) | #d46de2FF |
Saturated and desaturated colors of #d46de2
HSL Code | Preview |
---|---|
hsl(293, 10%, 66%) | |
hsl(293, 20%, 66%) | |
hsl(293, 40%, 66%) | |
hsl(293, 60%, 66%) | |
hsl(293, 80%, 66%) | |
hsl(293, 100%, 66%) |
#d46de2 Color Usage In CSS
body { color: #d46de2; } p { color: rgb(212, 109, 226); } header { border-bottom:1px solid #d46de2; }