#fbd549 Color
Color Codes | |
---|---|
Hex Code | #fbd549 |
RGB Code | rgb(251, 213, 73) |
HSL Code | hsl(47, 96%, 64%) |
#fbd549 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(251, 213, 73); }
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(47, 96%, 64%); }
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 #fbd549
RGB Code | Hex Code | Preview |
---|---|---|
rgb(251, 213, 73, 10%) | #fbd5491a | |
rgb(251, 213, 73, 20%) | #fbd54933 | |
rgb(251, 213, 73, 40%) | #fbd5494C | |
rgb(251, 213, 73, 60%) | #fbd54999 | |
rgb(251, 213, 73, 80%) | #fbd549CC | |
rgb(251, 213, 73, 100%) | #fbd549FF |
Saturated and desaturated colors of #fbd549
HSL Code | Preview |
---|---|
hsl(47, 10%, 64%) | |
hsl(47, 20%, 64%) | |
hsl(47, 40%, 64%) | |
hsl(47, 60%, 64%) | |
hsl(47, 80%, 64%) | |
hsl(47, 100%, 64%) |
#fbd549 Color Usage In CSS
body { color: #fbd549; } p { color: rgb(251, 213, 73); } header { border-bottom:1px solid #fbd549; }