#fc7f20 Color
Color Codes | |
---|---|
Hex Code | #fc7f20 |
RGB Code | rgb(252, 127, 32) |
HSL Code | hsl(26, 97%, 56%) |
#fc7f20 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(252, 127, 32); }
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(26, 97%, 56%); }
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 #fc7f20
RGB Code | Hex Code | Preview |
---|---|---|
rgb(252, 127, 32, 10%) | #fc7f201a | |
rgb(252, 127, 32, 20%) | #fc7f2033 | |
rgb(252, 127, 32, 40%) | #fc7f204C | |
rgb(252, 127, 32, 60%) | #fc7f2099 | |
rgb(252, 127, 32, 80%) | #fc7f20CC | |
rgb(252, 127, 32, 100%) | #fc7f20FF |
Saturated and desaturated colors of #fc7f20
HSL Code | Preview |
---|---|
hsl(26, 10%, 56%) | |
hsl(26, 20%, 56%) | |
hsl(26, 40%, 56%) | |
hsl(26, 60%, 56%) | |
hsl(26, 80%, 56%) | |
hsl(26, 100%, 56%) |
#fc7f20 Color Usage In CSS
body { color: #fc7f20; } p { color: rgb(252, 127, 32); } header { border-bottom:1px solid #fc7f20; }