#e6a321 Color
Color Codes | |
---|---|
Hex Code | #e6a321 |
RGB Code | rgb(230, 163, 33) |
HSL Code | hsl(40, 80%, 52%) |
#e6a321 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(230, 163, 33); }
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(40, 80%, 52%); }
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 #e6a321
RGB Code | Hex Code | Preview |
---|---|---|
rgb(230, 163, 33, 10%) | #e6a3211a | |
rgb(230, 163, 33, 20%) | #e6a32133 | |
rgb(230, 163, 33, 40%) | #e6a3214C | |
rgb(230, 163, 33, 60%) | #e6a32199 | |
rgb(230, 163, 33, 80%) | #e6a321CC | |
rgb(230, 163, 33, 100%) | #e6a321FF |
Saturated and desaturated colors of #e6a321
HSL Code | Preview |
---|---|
hsl(40, 10%, 52%) | |
hsl(40, 20%, 52%) | |
hsl(40, 40%, 52%) | |
hsl(40, 60%, 52%) | |
hsl(40, 80%, 52%) | |
hsl(40, 100%, 52%) |
#e6a321 Color Usage In CSS
body { color: #e6a321; } p { color: rgb(230, 163, 33); } header { border-bottom:1px solid #e6a321; }