#ecc070 Color
Color Codes | |
---|---|
Hex Code | #ecc070 |
RGB Code | rgb(236, 192, 112) |
HSL Code | hsl(39, 77%, 68%) |
#ecc070 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 192, 112); }
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(39, 77%, 68%); }
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 #ecc070
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 192, 112, 10%) | #ecc0701a | |
rgb(236, 192, 112, 20%) | #ecc07033 | |
rgb(236, 192, 112, 40%) | #ecc0704C | |
rgb(236, 192, 112, 60%) | #ecc07099 | |
rgb(236, 192, 112, 80%) | #ecc070CC | |
rgb(236, 192, 112, 100%) | #ecc070FF |
Saturated and desaturated colors of #ecc070
HSL Code | Preview |
---|---|
hsl(39, 10%, 68%) | |
hsl(39, 20%, 68%) | |
hsl(39, 40%, 68%) | |
hsl(39, 60%, 68%) | |
hsl(39, 80%, 68%) | |
hsl(39, 100%, 68%) |
#ecc070 Color Usage In CSS
body { color: #ecc070; } p { color: rgb(236, 192, 112); } header { border-bottom:1px solid #ecc070; }