#f8ac74 Color
Color Codes | |
---|---|
Hex Code | #f8ac74 |
RGB Code | rgb(248, 172, 116) |
HSL Code | hsl(25, 90%, 71%) |
#f8ac74 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 172, 116); }
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(25, 90%, 71%); }
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 #f8ac74
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 172, 116, 10%) | #f8ac741a | |
rgb(248, 172, 116, 20%) | #f8ac7433 | |
rgb(248, 172, 116, 40%) | #f8ac744C | |
rgb(248, 172, 116, 60%) | #f8ac7499 | |
rgb(248, 172, 116, 80%) | #f8ac74CC | |
rgb(248, 172, 116, 100%) | #f8ac74FF |
Saturated and desaturated colors of #f8ac74
HSL Code | Preview |
---|---|
hsl(25, 10%, 71%) | |
hsl(25, 20%, 71%) | |
hsl(25, 40%, 71%) | |
hsl(25, 60%, 71%) | |
hsl(25, 80%, 71%) | |
hsl(25, 100%, 71%) |
#f8ac74 Color Usage In CSS
body { color: #f8ac74; } p { color: rgb(248, 172, 116); } header { border-bottom:1px solid #f8ac74; }