#f40914 Color
Color Codes | |
---|---|
Hex Code | #f40914 |
RGB Code | rgb(244, 09, 20) |
HSL Code | hsl(357, 93%, 50%) |
#f40914 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(244, 09, 20); }
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(357, 93%, 50%); }
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 #f40914
RGB Code | Hex Code | Preview |
---|---|---|
rgb(244, 09, 20, 10%) | #f409141a | |
rgb(244, 09, 20, 20%) | #f4091433 | |
rgb(244, 09, 20, 40%) | #f409144C | |
rgb(244, 09, 20, 60%) | #f4091499 | |
rgb(244, 09, 20, 80%) | #f40914CC | |
rgb(244, 09, 20, 100%) | #f40914FF |
Saturated and desaturated colors of #f40914
HSL Code | Preview |
---|---|
hsl(357, 10%, 50%) | |
hsl(357, 20%, 50%) | |
hsl(357, 40%, 50%) | |
hsl(357, 60%, 50%) | |
hsl(357, 80%, 50%) | |
hsl(357, 100%, 50%) |
#f40914 Color Usage In CSS
body { color: #f40914; } p { color: rgb(244, 09, 20); } header { border-bottom:1px solid #f40914; }