#f0715d Color
Color Codes | |
---|---|
Hex Code | #f0715d |
RGB Code | rgb(240, 113, 93) |
HSL Code | hsl(8, 83%, 65%) |
#f0715d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(240, 113, 93); }
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(8, 83%, 65%); }
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 #f0715d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(240, 113, 93, 10%) | #f0715d1a | |
rgb(240, 113, 93, 20%) | #f0715d33 | |
rgb(240, 113, 93, 40%) | #f0715d4C | |
rgb(240, 113, 93, 60%) | #f0715d99 | |
rgb(240, 113, 93, 80%) | #f0715dCC | |
rgb(240, 113, 93, 100%) | #f0715dFF |
Saturated and desaturated colors of #f0715d
HSL Code | Preview |
---|---|
hsl(8, 10%, 65%) | |
hsl(8, 20%, 65%) | |
hsl(8, 40%, 65%) | |
hsl(8, 60%, 65%) | |
hsl(8, 80%, 65%) | |
hsl(8, 100%, 65%) |
#f0715d Color Usage In CSS
body { color: #f0715d; } p { color: rgb(240, 113, 93); } header { border-bottom:1px solid #f0715d; }