#e7db1e Color
Color Codes | |
---|---|
Hex Code | #e7db1e |
RGB Code | rgb(231, 219, 30) |
HSL Code | hsl(56, 81%, 51%) |
#e7db1e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(231, 219, 30); }
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(56, 81%, 51%); }
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 #e7db1e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(231, 219, 30, 10%) | #e7db1e1a | |
rgb(231, 219, 30, 20%) | #e7db1e33 | |
rgb(231, 219, 30, 40%) | #e7db1e4C | |
rgb(231, 219, 30, 60%) | #e7db1e99 | |
rgb(231, 219, 30, 80%) | #e7db1eCC | |
rgb(231, 219, 30, 100%) | #e7db1eFF |
Saturated and desaturated colors of #e7db1e
HSL Code | Preview |
---|---|
hsl(56, 10%, 51%) | |
hsl(56, 20%, 51%) | |
hsl(56, 40%, 51%) | |
hsl(56, 60%, 51%) | |
hsl(56, 80%, 51%) | |
hsl(56, 100%, 51%) |
#e7db1e Color Usage In CSS
body { color: #e7db1e; } p { color: rgb(231, 219, 30); } header { border-bottom:1px solid #e7db1e; }