#f9c7a6 Color
Color Codes | |
---|---|
Hex Code | #f9c7a6 |
RGB Code | rgb(249, 199, 166) |
HSL Code | hsl(24, 87%, 81%) |
#f9c7a6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 199, 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(24, 87%, 81%); }
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 #f9c7a6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 199, 166, 10%) | #f9c7a61a | |
rgb(249, 199, 166, 20%) | #f9c7a633 | |
rgb(249, 199, 166, 40%) | #f9c7a64C | |
rgb(249, 199, 166, 60%) | #f9c7a699 | |
rgb(249, 199, 166, 80%) | #f9c7a6CC | |
rgb(249, 199, 166, 100%) | #f9c7a6FF |
Saturated and desaturated colors of #f9c7a6
HSL Code | Preview |
---|---|
hsl(24, 10%, 81%) | |
hsl(24, 20%, 81%) | |
hsl(24, 40%, 81%) | |
hsl(24, 60%, 81%) | |
hsl(24, 80%, 81%) | |
hsl(24, 100%, 81%) |
#f9c7a6 Color Usage In CSS
body { color: #f9c7a6; } p { color: rgb(249, 199, 166); } header { border-bottom:1px solid #f9c7a6; }