#fbe34d Color
Color Codes | |
---|---|
Hex Code | #fbe34d |
RGB Code | rgb(251, 227, 77) |
HSL Code | hsl(52, 96%, 64%) |
#fbe34d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(251, 227, 77); }
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, 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 #fbe34d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(251, 227, 77, 10%) | #fbe34d1a | |
rgb(251, 227, 77, 20%) | #fbe34d33 | |
rgb(251, 227, 77, 40%) | #fbe34d4C | |
rgb(251, 227, 77, 60%) | #fbe34d99 | |
rgb(251, 227, 77, 80%) | #fbe34dCC | |
rgb(251, 227, 77, 100%) | #fbe34dFF |
Saturated and desaturated colors of #fbe34d
HSL Code | Preview |
---|---|
hsl(52, 10%, 64%) | |
hsl(52, 20%, 64%) | |
hsl(52, 40%, 64%) | |
hsl(52, 60%, 64%) | |
hsl(52, 80%, 64%) | |
hsl(52, 100%, 64%) |
#fbe34d Color Usage In CSS
body { color: #fbe34d; } p { color: rgb(251, 227, 77); } header { border-bottom:1px solid #fbe34d; }