#de5f5a Color
Color Codes | |
---|---|
Hex Code | #de5f5a |
RGB Code | rgb(222, 95, 90) |
HSL Code | hsl(2, 67%, 61%) |
#de5f5a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(222, 95, 90); }
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(2, 67%, 61%); }
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 #de5f5a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(222, 95, 90, 10%) | #de5f5a1a | |
rgb(222, 95, 90, 20%) | #de5f5a33 | |
rgb(222, 95, 90, 40%) | #de5f5a4C | |
rgb(222, 95, 90, 60%) | #de5f5a99 | |
rgb(222, 95, 90, 80%) | #de5f5aCC | |
rgb(222, 95, 90, 100%) | #de5f5aFF |
Saturated and desaturated colors of #de5f5a
HSL Code | Preview |
---|---|
hsl(2, 10%, 61%) | |
hsl(2, 20%, 61%) | |
hsl(2, 40%, 61%) | |
hsl(2, 60%, 61%) | |
hsl(2, 80%, 61%) | |
hsl(2, 100%, 61%) |
#de5f5a Color Usage In CSS
body { color: #de5f5a; } p { color: rgb(222, 95, 90); } header { border-bottom:1px solid #de5f5a; }