#f5841d Color
Color Codes | |
---|---|
Hex Code | #f5841d |
RGB Code | rgb(245, 132, 29) |
HSL Code | hsl(29, 92%, 54%) |
#f5841d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(245, 132, 29); }
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(29, 92%, 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 #f5841d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(245, 132, 29, 10%) | #f5841d1a | |
rgb(245, 132, 29, 20%) | #f5841d33 | |
rgb(245, 132, 29, 40%) | #f5841d4C | |
rgb(245, 132, 29, 60%) | #f5841d99 | |
rgb(245, 132, 29, 80%) | #f5841dCC | |
rgb(245, 132, 29, 100%) | #f5841dFF |
Saturated and desaturated colors of #f5841d
HSL Code | Preview |
---|---|
hsl(29, 10%, 54%) | |
hsl(29, 20%, 54%) | |
hsl(29, 40%, 54%) | |
hsl(29, 60%, 54%) | |
hsl(29, 80%, 54%) | |
hsl(29, 100%, 54%) |
#f5841d Color Usage In CSS
body { color: #f5841d; } p { color: rgb(245, 132, 29); } header { border-bottom:1px solid #f5841d; }