#fbc977 Color
Color Codes | |
---|---|
Hex Code | #fbc977 |
RGB Code | rgb(251, 201, 119) |
HSL Code | hsl(37, 94%, 73%) |
#fbc977 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(251, 201, 119); }
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(37, 94%, 73%); }
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 #fbc977
RGB Code | Hex Code | Preview |
---|---|---|
rgb(251, 201, 119, 10%) | #fbc9771a | |
rgb(251, 201, 119, 20%) | #fbc97733 | |
rgb(251, 201, 119, 40%) | #fbc9774C | |
rgb(251, 201, 119, 60%) | #fbc97799 | |
rgb(251, 201, 119, 80%) | #fbc977CC | |
rgb(251, 201, 119, 100%) | #fbc977FF |
Saturated and desaturated colors of #fbc977
HSL Code | Preview |
---|---|
hsl(37, 10%, 73%) | |
hsl(37, 20%, 73%) | |
hsl(37, 40%, 73%) | |
hsl(37, 60%, 73%) | |
hsl(37, 80%, 73%) | |
hsl(37, 100%, 73%) |
#fbc977 Color Usage In CSS
body { color: #fbc977; } p { color: rgb(251, 201, 119); } header { border-bottom:1px solid #fbc977; }