#dc1add Color
Color Codes | |
---|---|
Hex Code | #dc1add |
RGB Code | rgb(220, 26, 221) |
HSL Code | hsl(300, 79%, 48%) |
#dc1add Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 26, 221); }
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(300, 79%, 48%); }
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 #dc1add
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 26, 221, 10%) | #dc1add1a | |
rgb(220, 26, 221, 20%) | #dc1add33 | |
rgb(220, 26, 221, 40%) | #dc1add4C | |
rgb(220, 26, 221, 60%) | #dc1add99 | |
rgb(220, 26, 221, 80%) | #dc1addCC | |
rgb(220, 26, 221, 100%) | #dc1addFF |
Saturated and desaturated colors of #dc1add
HSL Code | Preview |
---|---|
hsl(300, 10%, 48%) | |
hsl(300, 20%, 48%) | |
hsl(300, 40%, 48%) | |
hsl(300, 60%, 48%) | |
hsl(300, 80%, 48%) | |
hsl(300, 100%, 48%) |
#dc1add Color Usage In CSS
body { color: #dc1add; } p { color: rgb(220, 26, 221); } header { border-bottom:1px solid #dc1add; }