#f82921 Color
Color Codes | |
---|---|
Hex Code | #f82921 |
RGB Code | rgb(248, 41, 33) |
HSL Code | hsl(2, 94%, 55%) |
#f82921 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 41, 33); }
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(2, 94%, 55%); }
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 #f82921
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 41, 33, 10%) | #f829211a | |
rgb(248, 41, 33, 20%) | #f8292133 | |
rgb(248, 41, 33, 40%) | #f829214C | |
rgb(248, 41, 33, 60%) | #f8292199 | |
rgb(248, 41, 33, 80%) | #f82921CC | |
rgb(248, 41, 33, 100%) | #f82921FF |
Saturated and desaturated colors of #f82921
HSL Code | Preview |
---|---|
hsl(2, 10%, 55%) | |
hsl(2, 20%, 55%) | |
hsl(2, 40%, 55%) | |
hsl(2, 60%, 55%) | |
hsl(2, 80%, 55%) | |
hsl(2, 100%, 55%) |
#f82921 Color Usage In CSS
body { color: #f82921; } p { color: rgb(248, 41, 33); } header { border-bottom:1px solid #f82921; }