#f82218 Color
Color Codes | |
---|---|
Hex Code | #f82218 |
RGB Code | rgb(248, 34, 24) |
HSL Code | hsl(3, 94%, 53%) |
#f82218 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 34, 24); }
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(3, 94%, 53%); }
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 #f82218
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 34, 24, 10%) | #f822181a | |
rgb(248, 34, 24, 20%) | #f8221833 | |
rgb(248, 34, 24, 40%) | #f822184C | |
rgb(248, 34, 24, 60%) | #f8221899 | |
rgb(248, 34, 24, 80%) | #f82218CC | |
rgb(248, 34, 24, 100%) | #f82218FF |
Saturated and desaturated colors of #f82218
HSL Code | Preview |
---|---|
hsl(3, 10%, 53%) | |
hsl(3, 20%, 53%) | |
hsl(3, 40%, 53%) | |
hsl(3, 60%, 53%) | |
hsl(3, 80%, 53%) | |
hsl(3, 100%, 53%) |
#f82218 Color Usage In CSS
body { color: #f82218; } p { color: rgb(248, 34, 24); } header { border-bottom:1px solid #f82218; }