#fbf7a6 Color
Color Codes | |
---|---|
Hex Code | #fbf7a6 |
RGB Code | rgb(251, 247, 166) |
HSL Code | hsl(57, 91%, 82%) |
#fbf7a6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(251, 247, 166); }
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(57, 91%, 82%); }
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 #fbf7a6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(251, 247, 166, 10%) | #fbf7a61a | |
rgb(251, 247, 166, 20%) | #fbf7a633 | |
rgb(251, 247, 166, 40%) | #fbf7a64C | |
rgb(251, 247, 166, 60%) | #fbf7a699 | |
rgb(251, 247, 166, 80%) | #fbf7a6CC | |
rgb(251, 247, 166, 100%) | #fbf7a6FF |
Saturated and desaturated colors of #fbf7a6
HSL Code | Preview |
---|---|
hsl(57, 10%, 82%) | |
hsl(57, 20%, 82%) | |
hsl(57, 40%, 82%) | |
hsl(57, 60%, 82%) | |
hsl(57, 80%, 82%) | |
hsl(57, 100%, 82%) |
#fbf7a6 Color Usage In CSS
body { color: #fbf7a6; } p { color: rgb(251, 247, 166); } header { border-bottom:1px solid #fbf7a6; }