#d81c58 Color
Color Codes | |
---|---|
Hex Code | #d81c58 |
RGB Code | rgb(216, 28, 88) |
HSL Code | hsl(341, 77%, 48%) |
#d81c58 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 28, 88); }
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(341, 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 #d81c58
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 28, 88, 10%) | #d81c581a | |
rgb(216, 28, 88, 20%) | #d81c5833 | |
rgb(216, 28, 88, 40%) | #d81c584C | |
rgb(216, 28, 88, 60%) | #d81c5899 | |
rgb(216, 28, 88, 80%) | #d81c58CC | |
rgb(216, 28, 88, 100%) | #d81c58FF |
Saturated and desaturated colors of #d81c58
HSL Code | Preview |
---|---|
hsl(341, 10%, 48%) | |
hsl(341, 20%, 48%) | |
hsl(341, 40%, 48%) | |
hsl(341, 60%, 48%) | |
hsl(341, 80%, 48%) | |
hsl(341, 100%, 48%) |
#d81c58 Color Usage In CSS
body { color: #d81c58; } p { color: rgb(216, 28, 88); } header { border-bottom:1px solid #d81c58; }