#d284ca Color
Color Codes | |
---|---|
Hex Code | #d284ca |
RGB Code | rgb(210, 132, 202) |
HSL Code | hsl(306, 46%, 67%) |
#d284ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 132, 202); }
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(306, 46%, 67%); }
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 #d284ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 132, 202, 10%) | #d284ca1a | |
rgb(210, 132, 202, 20%) | #d284ca33 | |
rgb(210, 132, 202, 40%) | #d284ca4C | |
rgb(210, 132, 202, 60%) | #d284ca99 | |
rgb(210, 132, 202, 80%) | #d284caCC | |
rgb(210, 132, 202, 100%) | #d284caFF |
Saturated and desaturated colors of #d284ca
HSL Code | Preview |
---|---|
hsl(306, 10%, 67%) | |
hsl(306, 20%, 67%) | |
hsl(306, 40%, 67%) | |
hsl(306, 60%, 67%) | |
hsl(306, 80%, 67%) | |
hsl(306, 100%, 67%) |
#d284ca Color Usage In CSS
body { color: #d284ca; } p { color: rgb(210, 132, 202); } header { border-bottom:1px solid #d284ca; }