#f31107 Color
Color Codes | |
---|---|
Hex Code | #f31107 |
RGB Code | rgb(243, 17, 07) |
HSL Code | hsl(3, 94%, 49%) |
#f31107 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(243, 17, 07); }
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(3, 94%, 49%); }
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 #f31107
RGB Code | Hex Code | Preview |
---|---|---|
rgb(243, 17, 07, 10%) | #f311071a | |
rgb(243, 17, 07, 20%) | #f3110733 | |
rgb(243, 17, 07, 40%) | #f311074C | |
rgb(243, 17, 07, 60%) | #f3110799 | |
rgb(243, 17, 07, 80%) | #f31107CC | |
rgb(243, 17, 07, 100%) | #f31107FF |
Saturated and desaturated colors of #f31107
HSL Code | Preview |
---|---|
hsl(3, 10%, 49%) | |
hsl(3, 20%, 49%) | |
hsl(3, 40%, 49%) | |
hsl(3, 60%, 49%) | |
hsl(3, 80%, 49%) | |
hsl(3, 100%, 49%) |
#f31107 Color Usage In CSS
body { color: #f31107; } p { color: rgb(243, 17, 07); } header { border-bottom:1px solid #f31107; }