#d91c95 Color
Color Codes | |
---|---|
Hex Code | #d91c95 |
RGB Code | rgb(217, 28, 149) |
HSL Code | hsl(322, 77%, 48%) |
#d91c95 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 28, 149); }
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(322, 77%, 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 #d91c95
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 28, 149, 10%) | #d91c951a | |
rgb(217, 28, 149, 20%) | #d91c9533 | |
rgb(217, 28, 149, 40%) | #d91c954C | |
rgb(217, 28, 149, 60%) | #d91c9599 | |
rgb(217, 28, 149, 80%) | #d91c95CC | |
rgb(217, 28, 149, 100%) | #d91c95FF |
Saturated and desaturated colors of #d91c95
HSL Code | Preview |
---|---|
hsl(322, 10%, 48%) | |
hsl(322, 20%, 48%) | |
hsl(322, 40%, 48%) | |
hsl(322, 60%, 48%) | |
hsl(322, 80%, 48%) | |
hsl(322, 100%, 48%) |
#d91c95 Color Usage In CSS
body { color: #d91c95; } p { color: rgb(217, 28, 149); } header { border-bottom:1px solid #d91c95; }