#f12511 Color
Color Codes | |
---|---|
Hex Code | #f12511 |
RGB Code | rgb(241, 37, 17) |
HSL Code | hsl(5, 89%, 51%) |
#f12511 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(241, 37, 17); }
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(5, 89%, 51%); }
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 #f12511
RGB Code | Hex Code | Preview |
---|---|---|
rgb(241, 37, 17, 10%) | #f125111a | |
rgb(241, 37, 17, 20%) | #f1251133 | |
rgb(241, 37, 17, 40%) | #f125114C | |
rgb(241, 37, 17, 60%) | #f1251199 | |
rgb(241, 37, 17, 80%) | #f12511CC | |
rgb(241, 37, 17, 100%) | #f12511FF |
Saturated and desaturated colors of #f12511
HSL Code | Preview |
---|---|
hsl(5, 10%, 51%) | |
hsl(5, 20%, 51%) | |
hsl(5, 40%, 51%) | |
hsl(5, 60%, 51%) | |
hsl(5, 80%, 51%) | |
hsl(5, 100%, 51%) |
#f12511 Color Usage In CSS
body { color: #f12511; } p { color: rgb(241, 37, 17); } header { border-bottom:1px solid #f12511; }