#dc15ae Color
Color Codes | |
---|---|
Hex Code | #dc15ae |
RGB Code | rgb(220, 21, 174) |
HSL Code | hsl(314, 83%, 47%) |
#dc15ae Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 21, 174); }
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(314, 83%, 47%); }
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 #dc15ae
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 21, 174, 10%) | #dc15ae1a | |
rgb(220, 21, 174, 20%) | #dc15ae33 | |
rgb(220, 21, 174, 40%) | #dc15ae4C | |
rgb(220, 21, 174, 60%) | #dc15ae99 | |
rgb(220, 21, 174, 80%) | #dc15aeCC | |
rgb(220, 21, 174, 100%) | #dc15aeFF |
Saturated and desaturated colors of #dc15ae
HSL Code | Preview |
---|---|
hsl(314, 10%, 47%) | |
hsl(314, 20%, 47%) | |
hsl(314, 40%, 47%) | |
hsl(314, 60%, 47%) | |
hsl(314, 80%, 47%) | |
hsl(314, 100%, 47%) |
#dc15ae Color Usage In CSS
body { color: #dc15ae; } p { color: rgb(220, 21, 174); } header { border-bottom:1px solid #dc15ae; }