#f03113 Color
Color Codes | |
---|---|
Hex Code | #f03113 |
RGB Code | rgb(240, 49, 19) |
HSL Code | hsl(8, 88%, 51%) |
#f03113 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(240, 49, 19); }
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(8, 88%, 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 #f03113
RGB Code | Hex Code | Preview |
---|---|---|
rgb(240, 49, 19, 10%) | #f031131a | |
rgb(240, 49, 19, 20%) | #f0311333 | |
rgb(240, 49, 19, 40%) | #f031134C | |
rgb(240, 49, 19, 60%) | #f0311399 | |
rgb(240, 49, 19, 80%) | #f03113CC | |
rgb(240, 49, 19, 100%) | #f03113FF |
Saturated and desaturated colors of #f03113
HSL Code | Preview |
---|---|
hsl(8, 10%, 51%) | |
hsl(8, 20%, 51%) | |
hsl(8, 40%, 51%) | |
hsl(8, 60%, 51%) | |
hsl(8, 80%, 51%) | |
hsl(8, 100%, 51%) |
#f03113 Color Usage In CSS
body { color: #f03113; } p { color: rgb(240, 49, 19); } header { border-bottom:1px solid #f03113; }