#da37bd Color
Color Codes | |
---|---|
Hex Code | #da37bd |
RGB Code | rgb(218, 55, 189) |
HSL Code | hsl(311, 69%, 54%) |
#da37bd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(218, 55, 189); }
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(311, 69%, 54%); }
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 #da37bd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(218, 55, 189, 10%) | #da37bd1a | |
rgb(218, 55, 189, 20%) | #da37bd33 | |
rgb(218, 55, 189, 40%) | #da37bd4C | |
rgb(218, 55, 189, 60%) | #da37bd99 | |
rgb(218, 55, 189, 80%) | #da37bdCC | |
rgb(218, 55, 189, 100%) | #da37bdFF |
Saturated and desaturated colors of #da37bd
HSL Code | Preview |
---|---|
hsl(311, 10%, 54%) | |
hsl(311, 20%, 54%) | |
hsl(311, 40%, 54%) | |
hsl(311, 60%, 54%) | |
hsl(311, 80%, 54%) | |
hsl(311, 100%, 54%) |
#da37bd Color Usage In CSS
body { color: #da37bd; } p { color: rgb(218, 55, 189); } header { border-bottom:1px solid #da37bd; }