#f8f3aa Color
Color Codes | |
---|---|
Hex Code | #f8f3aa |
RGB Code | rgb(248, 243, 170) |
HSL Code | hsl(56, 85%, 82%) |
#f8f3aa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 243, 170); }
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(56, 85%, 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 #f8f3aa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 243, 170, 10%) | #f8f3aa1a | |
rgb(248, 243, 170, 20%) | #f8f3aa33 | |
rgb(248, 243, 170, 40%) | #f8f3aa4C | |
rgb(248, 243, 170, 60%) | #f8f3aa99 | |
rgb(248, 243, 170, 80%) | #f8f3aaCC | |
rgb(248, 243, 170, 100%) | #f8f3aaFF |
Saturated and desaturated colors of #f8f3aa
HSL Code | Preview |
---|---|
hsl(56, 10%, 82%) | |
hsl(56, 20%, 82%) | |
hsl(56, 40%, 82%) | |
hsl(56, 60%, 82%) | |
hsl(56, 80%, 82%) | |
hsl(56, 100%, 82%) |
#f8f3aa Color Usage In CSS
body { color: #f8f3aa; } p { color: rgb(248, 243, 170); } header { border-bottom:1px solid #f8f3aa; }