#fab438 Color
Color Codes | |
---|---|
Hex Code | #fab438 |
RGB Code | rgb(250, 180, 56) |
HSL Code | hsl(38, 95%, 60%) |
#fab438 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(250, 180, 56); }
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(38, 95%, 60%); }
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 #fab438
RGB Code | Hex Code | Preview |
---|---|---|
rgb(250, 180, 56, 10%) | #fab4381a | |
rgb(250, 180, 56, 20%) | #fab43833 | |
rgb(250, 180, 56, 40%) | #fab4384C | |
rgb(250, 180, 56, 60%) | #fab43899 | |
rgb(250, 180, 56, 80%) | #fab438CC | |
rgb(250, 180, 56, 100%) | #fab438FF |
Saturated and desaturated colors of #fab438
HSL Code | Preview |
---|---|
hsl(38, 10%, 60%) | |
hsl(38, 20%, 60%) | |
hsl(38, 40%, 60%) | |
hsl(38, 60%, 60%) | |
hsl(38, 80%, 60%) | |
hsl(38, 100%, 60%) |
#fab438 Color Usage In CSS
body { color: #fab438; } p { color: rgb(250, 180, 56); } header { border-bottom:1px solid #fab438; }