#f8581c Color
Color Codes | |
---|---|
Hex Code | #f8581c |
RGB Code | rgb(248, 88, 28) |
HSL Code | hsl(16, 94%, 54%) |
#f8581c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 88, 28); }
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(16, 94%, 54%); }
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 #f8581c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 88, 28, 10%) | #f8581c1a | |
rgb(248, 88, 28, 20%) | #f8581c33 | |
rgb(248, 88, 28, 40%) | #f8581c4C | |
rgb(248, 88, 28, 60%) | #f8581c99 | |
rgb(248, 88, 28, 80%) | #f8581cCC | |
rgb(248, 88, 28, 100%) | #f8581cFF |
Saturated and desaturated colors of #f8581c
HSL Code | Preview |
---|---|
hsl(16, 10%, 54%) | |
hsl(16, 20%, 54%) | |
hsl(16, 40%, 54%) | |
hsl(16, 60%, 54%) | |
hsl(16, 80%, 54%) | |
hsl(16, 100%, 54%) |
#f8581c Color Usage In CSS
body { color: #f8581c; } p { color: rgb(248, 88, 28); } header { border-bottom:1px solid #f8581c; }