#d91bd3 Color
Color Codes | |
---|---|
Hex Code | #d91bd3 |
RGB Code | rgb(217, 27, 211) |
HSL Code | hsl(302, 78%, 48%) |
#d91bd3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 27, 211); }
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(302, 78%, 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 #d91bd3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 27, 211, 10%) | #d91bd31a | |
rgb(217, 27, 211, 20%) | #d91bd333 | |
rgb(217, 27, 211, 40%) | #d91bd34C | |
rgb(217, 27, 211, 60%) | #d91bd399 | |
rgb(217, 27, 211, 80%) | #d91bd3CC | |
rgb(217, 27, 211, 100%) | #d91bd3FF |
Saturated and desaturated colors of #d91bd3
HSL Code | Preview |
---|---|
hsl(302, 10%, 48%) | |
hsl(302, 20%, 48%) | |
hsl(302, 40%, 48%) | |
hsl(302, 60%, 48%) | |
hsl(302, 80%, 48%) | |
hsl(302, 100%, 48%) |
#d91bd3 Color Usage In CSS
body { color: #d91bd3; } p { color: rgb(217, 27, 211); } header { border-bottom:1px solid #d91bd3; }