#d94a58 Color
Color Codes | |
---|---|
Hex Code | #d94a58 |
RGB Code | rgb(217, 74, 88) |
HSL Code | hsl(354, 65%, 57%) |
#d94a58 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 74, 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(354, 65%, 57%); }
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 #d94a58
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 74, 88, 10%) | #d94a581a | |
rgb(217, 74, 88, 20%) | #d94a5833 | |
rgb(217, 74, 88, 40%) | #d94a584C | |
rgb(217, 74, 88, 60%) | #d94a5899 | |
rgb(217, 74, 88, 80%) | #d94a58CC | |
rgb(217, 74, 88, 100%) | #d94a58FF |
Saturated and desaturated colors of #d94a58
HSL Code | Preview |
---|---|
hsl(354, 10%, 57%) | |
hsl(354, 20%, 57%) | |
hsl(354, 40%, 57%) | |
hsl(354, 60%, 57%) | |
hsl(354, 80%, 57%) | |
hsl(354, 100%, 57%) |
#d94a58 Color Usage In CSS
body { color: #d94a58; } p { color: rgb(217, 74, 88); } header { border-bottom:1px solid #d94a58; }