#f4a6ad Color
Color Codes | |
---|---|
Hex Code | #f4a6ad |
RGB Code | rgb(244, 166, 173) |
HSL Code | hsl(355, 78%, 80%) |
#f4a6ad Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(244, 166, 173); }
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(355, 78%, 80%); }
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 #f4a6ad
RGB Code | Hex Code | Preview |
---|---|---|
rgb(244, 166, 173, 10%) | #f4a6ad1a | |
rgb(244, 166, 173, 20%) | #f4a6ad33 | |
rgb(244, 166, 173, 40%) | #f4a6ad4C | |
rgb(244, 166, 173, 60%) | #f4a6ad99 | |
rgb(244, 166, 173, 80%) | #f4a6adCC | |
rgb(244, 166, 173, 100%) | #f4a6adFF |
Saturated and desaturated colors of #f4a6ad
HSL Code | Preview |
---|---|
hsl(355, 10%, 80%) | |
hsl(355, 20%, 80%) | |
hsl(355, 40%, 80%) | |
hsl(355, 60%, 80%) | |
hsl(355, 80%, 80%) | |
hsl(355, 100%, 80%) |
#f4a6ad Color Usage In CSS
body { color: #f4a6ad; } p { color: rgb(244, 166, 173); } header { border-bottom:1px solid #f4a6ad; }