#ecdc99 Color
Color Codes | |
---|---|
Hex Code | #ecdc99 |
RGB Code | rgb(236, 220, 153) |
HSL Code | hsl(48, 69%, 76%) |
#ecdc99 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 220, 153); }
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(48, 69%, 76%); }
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 #ecdc99
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 220, 153, 10%) | #ecdc991a | |
rgb(236, 220, 153, 20%) | #ecdc9933 | |
rgb(236, 220, 153, 40%) | #ecdc994C | |
rgb(236, 220, 153, 60%) | #ecdc9999 | |
rgb(236, 220, 153, 80%) | #ecdc99CC | |
rgb(236, 220, 153, 100%) | #ecdc99FF |
Saturated and desaturated colors of #ecdc99
HSL Code | Preview |
---|---|
hsl(48, 10%, 76%) | |
hsl(48, 20%, 76%) | |
hsl(48, 40%, 76%) | |
hsl(48, 60%, 76%) | |
hsl(48, 80%, 76%) | |
hsl(48, 100%, 76%) |
#ecdc99 Color Usage In CSS
body { color: #ecdc99; } p { color: rgb(236, 220, 153); } header { border-bottom:1px solid #ecdc99; }