#f28521 Color
Color Codes | |
---|---|
Hex Code | #f28521 |
RGB Code | rgb(242, 133, 33) |
HSL Code | hsl(29, 89%, 54%) |
#f28521 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(242, 133, 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(29, 89%, 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 #f28521
RGB Code | Hex Code | Preview |
---|---|---|
rgb(242, 133, 33, 10%) | #f285211a | |
rgb(242, 133, 33, 20%) | #f2852133 | |
rgb(242, 133, 33, 40%) | #f285214C | |
rgb(242, 133, 33, 60%) | #f2852199 | |
rgb(242, 133, 33, 80%) | #f28521CC | |
rgb(242, 133, 33, 100%) | #f28521FF |
Saturated and desaturated colors of #f28521
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%) |
#f28521 Color Usage In CSS
body { color: #f28521; } p { color: rgb(242, 133, 33); } header { border-bottom:1px solid #f28521; }