#ecdd86 Color
Color Codes | |
---|---|
Hex Code | #ecdd86 |
RGB Code | rgb(236, 221, 134) |
HSL Code | hsl(51, 73%, 73%) |
#ecdd86 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 221, 134); }
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(51, 73%, 73%); }
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 #ecdd86
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 221, 134, 10%) | #ecdd861a | |
rgb(236, 221, 134, 20%) | #ecdd8633 | |
rgb(236, 221, 134, 40%) | #ecdd864C | |
rgb(236, 221, 134, 60%) | #ecdd8699 | |
rgb(236, 221, 134, 80%) | #ecdd86CC | |
rgb(236, 221, 134, 100%) | #ecdd86FF |
Saturated and desaturated colors of #ecdd86
HSL Code | Preview |
---|---|
hsl(51, 10%, 73%) | |
hsl(51, 20%, 73%) | |
hsl(51, 40%, 73%) | |
hsl(51, 60%, 73%) | |
hsl(51, 80%, 73%) | |
hsl(51, 100%, 73%) |
#ecdd86 Color Usage In CSS
body { color: #ecdd86; } p { color: rgb(236, 221, 134); } header { border-bottom:1px solid #ecdd86; }