#fab420 Color
Color Codes | |
---|---|
Hex Code | #fab420 |
RGB Code | rgb(250, 180, 32) |
HSL Code | hsl(41, 96%, 55%) |
#fab420 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(250, 180, 32); }
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(41, 96%, 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 #fab420
RGB Code | Hex Code | Preview |
---|---|---|
rgb(250, 180, 32, 10%) | #fab4201a | |
rgb(250, 180, 32, 20%) | #fab42033 | |
rgb(250, 180, 32, 40%) | #fab4204C | |
rgb(250, 180, 32, 60%) | #fab42099 | |
rgb(250, 180, 32, 80%) | #fab420CC | |
rgb(250, 180, 32, 100%) | #fab420FF |
Saturated and desaturated colors of #fab420
HSL Code | Preview |
---|---|
hsl(41, 10%, 55%) | |
hsl(41, 20%, 55%) | |
hsl(41, 40%, 55%) | |
hsl(41, 60%, 55%) | |
hsl(41, 80%, 55%) | |
hsl(41, 100%, 55%) |
#fab420 Color Usage In CSS
body { color: #fab420; } p { color: rgb(250, 180, 32); } header { border-bottom:1px solid #fab420; }