#e3c835 Color
Color Codes | |
---|---|
Hex Code | #e3c835 |
RGB Code | rgb(227, 200, 53) |
HSL Code | hsl(51, 76%, 55%) |
#e3c835 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(227, 200, 53); }
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, 76%, 55%); }
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 #e3c835
RGB Code | Hex Code | Preview |
---|---|---|
rgb(227, 200, 53, 10%) | #e3c8351a | |
rgb(227, 200, 53, 20%) | #e3c83533 | |
rgb(227, 200, 53, 40%) | #e3c8354C | |
rgb(227, 200, 53, 60%) | #e3c83599 | |
rgb(227, 200, 53, 80%) | #e3c835CC | |
rgb(227, 200, 53, 100%) | #e3c835FF |
Saturated and desaturated colors of #e3c835
HSL Code | Preview |
---|---|
hsl(51, 10%, 55%) | |
hsl(51, 20%, 55%) | |
hsl(51, 40%, 55%) | |
hsl(51, 60%, 55%) | |
hsl(51, 80%, 55%) | |
hsl(51, 100%, 55%) |
#e3c835 Color Usage In CSS
body { color: #e3c835; } p { color: rgb(227, 200, 53); } header { border-bottom:1px solid #e3c835; }