#f12031 Color
Color Codes | |
---|---|
Hex Code | #f12031 |
RGB Code | rgb(241, 32, 49) |
HSL Code | hsl(355, 88%, 54%) |
#f12031 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(241, 32, 49); }
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(355, 88%, 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 #f12031
RGB Code | Hex Code | Preview |
---|---|---|
rgb(241, 32, 49, 10%) | #f120311a | |
rgb(241, 32, 49, 20%) | #f1203133 | |
rgb(241, 32, 49, 40%) | #f120314C | |
rgb(241, 32, 49, 60%) | #f1203199 | |
rgb(241, 32, 49, 80%) | #f12031CC | |
rgb(241, 32, 49, 100%) | #f12031FF |
Saturated and desaturated colors of #f12031
HSL Code | Preview |
---|---|
hsl(355, 10%, 54%) | |
hsl(355, 20%, 54%) | |
hsl(355, 40%, 54%) | |
hsl(355, 60%, 54%) | |
hsl(355, 80%, 54%) | |
hsl(355, 100%, 54%) |
#f12031 Color Usage In CSS
body { color: #f12031; } p { color: rgb(241, 32, 49); } header { border-bottom:1px solid #f12031; }