#fed7ac Color
Color Codes | |
---|---|
Hex Code | #fed7ac |
RGB Code | rgb(254, 215, 172) |
HSL Code | hsl(31, 98%, 84%) |
#fed7ac Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(254, 215, 172); }
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(31, 98%, 84%); }
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 #fed7ac
RGB Code | Hex Code | Preview |
---|---|---|
rgb(254, 215, 172, 10%) | #fed7ac1a | |
rgb(254, 215, 172, 20%) | #fed7ac33 | |
rgb(254, 215, 172, 40%) | #fed7ac4C | |
rgb(254, 215, 172, 60%) | #fed7ac99 | |
rgb(254, 215, 172, 80%) | #fed7acCC | |
rgb(254, 215, 172, 100%) | #fed7acFF |
Saturated and desaturated colors of #fed7ac
HSL Code | Preview |
---|---|
hsl(31, 10%, 84%) | |
hsl(31, 20%, 84%) | |
hsl(31, 40%, 84%) | |
hsl(31, 60%, 84%) | |
hsl(31, 80%, 84%) | |
hsl(31, 100%, 84%) |
#fed7ac Color Usage In CSS
body { color: #fed7ac; } p { color: rgb(254, 215, 172); } header { border-bottom:1px solid #fed7ac; }