#d276d5 Color
Color Codes | |
---|---|
Hex Code | #d276d5 |
RGB Code | rgb(210, 118, 213) |
HSL Code | hsl(298, 53%, 65%) |
#d276d5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 118, 213); }
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(298, 53%, 65%); }
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 #d276d5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 118, 213, 10%) | #d276d51a | |
rgb(210, 118, 213, 20%) | #d276d533 | |
rgb(210, 118, 213, 40%) | #d276d54C | |
rgb(210, 118, 213, 60%) | #d276d599 | |
rgb(210, 118, 213, 80%) | #d276d5CC | |
rgb(210, 118, 213, 100%) | #d276d5FF |
Saturated and desaturated colors of #d276d5
HSL Code | Preview |
---|---|
hsl(298, 10%, 65%) | |
hsl(298, 20%, 65%) | |
hsl(298, 40%, 65%) | |
hsl(298, 60%, 65%) | |
hsl(298, 80%, 65%) | |
hsl(298, 100%, 65%) |
#d276d5 Color Usage In CSS
body { color: #d276d5; } p { color: rgb(210, 118, 213); } header { border-bottom:1px solid #d276d5; }