#e0ad1d Color
Color Codes | |
---|---|
Hex Code | #e0ad1d |
RGB Code | rgb(224, 173, 29) |
HSL Code | hsl(44, 77%, 50%) |
#e0ad1d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(224, 173, 29); }
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(44, 77%, 50%); }
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 #e0ad1d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(224, 173, 29, 10%) | #e0ad1d1a | |
rgb(224, 173, 29, 20%) | #e0ad1d33 | |
rgb(224, 173, 29, 40%) | #e0ad1d4C | |
rgb(224, 173, 29, 60%) | #e0ad1d99 | |
rgb(224, 173, 29, 80%) | #e0ad1dCC | |
rgb(224, 173, 29, 100%) | #e0ad1dFF |
Saturated and desaturated colors of #e0ad1d
HSL Code | Preview |
---|---|
hsl(44, 10%, 50%) | |
hsl(44, 20%, 50%) | |
hsl(44, 40%, 50%) | |
hsl(44, 60%, 50%) | |
hsl(44, 80%, 50%) | |
hsl(44, 100%, 50%) |
#e0ad1d Color Usage In CSS
body { color: #e0ad1d; } p { color: rgb(224, 173, 29); } header { border-bottom:1px solid #e0ad1d; }