#ecc565 Color
Color Codes | |
---|---|
Hex Code | #ecc565 |
RGB Code | rgb(236, 197, 101) |
HSL Code | hsl(43, 78%, 66%) |
#ecc565 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 197, 101); }
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(43, 78%, 66%); }
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 #ecc565
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 197, 101, 10%) | #ecc5651a | |
rgb(236, 197, 101, 20%) | #ecc56533 | |
rgb(236, 197, 101, 40%) | #ecc5654C | |
rgb(236, 197, 101, 60%) | #ecc56599 | |
rgb(236, 197, 101, 80%) | #ecc565CC | |
rgb(236, 197, 101, 100%) | #ecc565FF |
Saturated and desaturated colors of #ecc565
HSL Code | Preview |
---|---|
hsl(43, 10%, 66%) | |
hsl(43, 20%, 66%) | |
hsl(43, 40%, 66%) | |
hsl(43, 60%, 66%) | |
hsl(43, 80%, 66%) | |
hsl(43, 100%, 66%) |
#ecc565 Color Usage In CSS
body { color: #ecc565; } p { color: rgb(236, 197, 101); } header { border-bottom:1px solid #ecc565; }