#f9123a Color
Color Codes | |
---|---|
Hex Code | #f9123a |
RGB Code | rgb(249, 18, 58) |
HSL Code | hsl(350, 95%, 52%) |
#f9123a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 18, 58); }
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(350, 95%, 52%); }
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 #f9123a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 18, 58, 10%) | #f9123a1a | |
rgb(249, 18, 58, 20%) | #f9123a33 | |
rgb(249, 18, 58, 40%) | #f9123a4C | |
rgb(249, 18, 58, 60%) | #f9123a99 | |
rgb(249, 18, 58, 80%) | #f9123aCC | |
rgb(249, 18, 58, 100%) | #f9123aFF |
Saturated and desaturated colors of #f9123a
HSL Code | Preview |
---|---|
hsl(350, 10%, 52%) | |
hsl(350, 20%, 52%) | |
hsl(350, 40%, 52%) | |
hsl(350, 60%, 52%) | |
hsl(350, 80%, 52%) | |
hsl(350, 100%, 52%) |
#f9123a Color Usage In CSS
body { color: #f9123a; } p { color: rgb(249, 18, 58); } header { border-bottom:1px solid #f9123a; }