#d826ca Color
Color Codes | |
---|---|
Hex Code | #d826ca |
RGB Code | rgb(216, 38, 202) |
HSL Code | hsl(305, 70%, 50%) |
#d826ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 38, 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(305, 70%, 50%); }
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 #d826ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 38, 202, 10%) | #d826ca1a | |
rgb(216, 38, 202, 20%) | #d826ca33 | |
rgb(216, 38, 202, 40%) | #d826ca4C | |
rgb(216, 38, 202, 60%) | #d826ca99 | |
rgb(216, 38, 202, 80%) | #d826caCC | |
rgb(216, 38, 202, 100%) | #d826caFF |
Saturated and desaturated colors of #d826ca
HSL Code | Preview |
---|---|
hsl(305, 10%, 50%) | |
hsl(305, 20%, 50%) | |
hsl(305, 40%, 50%) | |
hsl(305, 60%, 50%) | |
hsl(305, 80%, 50%) | |
hsl(305, 100%, 50%) |
#d826ca Color Usage In CSS
body { color: #d826ca; } p { color: rgb(216, 38, 202); } header { border-bottom:1px solid #d826ca; }