#fadf2d Color
Color Codes | |
---|---|
Hex Code | #fadf2d |
RGB Code | rgb(250, 223, 45) |
HSL Code | hsl(52, 95%, 58%) |
#fadf2d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(250, 223, 45); }
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(52, 95%, 58%); }
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 #fadf2d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(250, 223, 45, 10%) | #fadf2d1a | |
rgb(250, 223, 45, 20%) | #fadf2d33 | |
rgb(250, 223, 45, 40%) | #fadf2d4C | |
rgb(250, 223, 45, 60%) | #fadf2d99 | |
rgb(250, 223, 45, 80%) | #fadf2dCC | |
rgb(250, 223, 45, 100%) | #fadf2dFF |
Saturated and desaturated colors of #fadf2d
HSL Code | Preview |
---|---|
hsl(52, 10%, 58%) | |
hsl(52, 20%, 58%) | |
hsl(52, 40%, 58%) | |
hsl(52, 60%, 58%) | |
hsl(52, 80%, 58%) | |
hsl(52, 100%, 58%) |
#fadf2d Color Usage In CSS
body { color: #fadf2d; } p { color: rgb(250, 223, 45); } header { border-bottom:1px solid #fadf2d; }