#ebc040 Color
Color Codes | |
---|---|
Hex Code | #ebc040 |
RGB Code | rgb(235, 192, 64) |
HSL Code | hsl(45, 81%, 59%) |
#ebc040 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 192, 64); }
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(45, 81%, 59%); }
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 #ebc040
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 192, 64, 10%) | #ebc0401a | |
rgb(235, 192, 64, 20%) | #ebc04033 | |
rgb(235, 192, 64, 40%) | #ebc0404C | |
rgb(235, 192, 64, 60%) | #ebc04099 | |
rgb(235, 192, 64, 80%) | #ebc040CC | |
rgb(235, 192, 64, 100%) | #ebc040FF |
Saturated and desaturated colors of #ebc040
HSL Code | Preview |
---|---|
hsl(45, 10%, 59%) | |
hsl(45, 20%, 59%) | |
hsl(45, 40%, 59%) | |
hsl(45, 60%, 59%) | |
hsl(45, 80%, 59%) | |
hsl(45, 100%, 59%) |
#ebc040 Color Usage In CSS
body { color: #ebc040; } p { color: rgb(235, 192, 64); } header { border-bottom:1px solid #ebc040; }