#e7c650 Color
Color Codes | |
---|---|
Hex Code | #e7c650 |
RGB Code | rgb(231, 198, 80) |
HSL Code | hsl(47, 76%, 61%) |
#e7c650 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(231, 198, 80); }
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(47, 76%, 61%); }
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 #e7c650
RGB Code | Hex Code | Preview |
---|---|---|
rgb(231, 198, 80, 10%) | #e7c6501a | |
rgb(231, 198, 80, 20%) | #e7c65033 | |
rgb(231, 198, 80, 40%) | #e7c6504C | |
rgb(231, 198, 80, 60%) | #e7c65099 | |
rgb(231, 198, 80, 80%) | #e7c650CC | |
rgb(231, 198, 80, 100%) | #e7c650FF |
Saturated and desaturated colors of #e7c650
HSL Code | Preview |
---|---|
hsl(47, 10%, 61%) | |
hsl(47, 20%, 61%) | |
hsl(47, 40%, 61%) | |
hsl(47, 60%, 61%) | |
hsl(47, 80%, 61%) | |
hsl(47, 100%, 61%) |
#e7c650 Color Usage In CSS
body { color: #e7c650; } p { color: rgb(231, 198, 80); } header { border-bottom:1px solid #e7c650; }