#f78f6c Color
Color Codes | |
---|---|
Hex Code | #f78f6c |
RGB Code | rgb(247, 143, 108) |
HSL Code | hsl(15, 90%, 70%) |
#f78f6c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(247, 143, 108); }
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(15, 90%, 70%); }
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 #f78f6c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(247, 143, 108, 10%) | #f78f6c1a | |
rgb(247, 143, 108, 20%) | #f78f6c33 | |
rgb(247, 143, 108, 40%) | #f78f6c4C | |
rgb(247, 143, 108, 60%) | #f78f6c99 | |
rgb(247, 143, 108, 80%) | #f78f6cCC | |
rgb(247, 143, 108, 100%) | #f78f6cFF |
Saturated and desaturated colors of #f78f6c
HSL Code | Preview |
---|---|
hsl(15, 10%, 70%) | |
hsl(15, 20%, 70%) | |
hsl(15, 40%, 70%) | |
hsl(15, 60%, 70%) | |
hsl(15, 80%, 70%) | |
hsl(15, 100%, 70%) |
#f78f6c Color Usage In CSS
body { color: #f78f6c; } p { color: rgb(247, 143, 108); } header { border-bottom:1px solid #f78f6c; }