#fc9940 Color
Color Codes | |
---|---|
Hex Code | #fc9940 |
RGB Code | rgb(252, 153, 64) |
HSL Code | hsl(28, 97%, 62%) |
#fc9940 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(252, 153, 64); }
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(28, 97%, 62%); }
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 #fc9940
RGB Code | Hex Code | Preview |
---|---|---|
rgb(252, 153, 64, 10%) | #fc99401a | |
rgb(252, 153, 64, 20%) | #fc994033 | |
rgb(252, 153, 64, 40%) | #fc99404C | |
rgb(252, 153, 64, 60%) | #fc994099 | |
rgb(252, 153, 64, 80%) | #fc9940CC | |
rgb(252, 153, 64, 100%) | #fc9940FF |
Saturated and desaturated colors of #fc9940
HSL Code | Preview |
---|---|
hsl(28, 10%, 62%) | |
hsl(28, 20%, 62%) | |
hsl(28, 40%, 62%) | |
hsl(28, 60%, 62%) | |
hsl(28, 80%, 62%) | |
hsl(28, 100%, 62%) |
#fc9940 Color Usage In CSS
body { color: #fc9940; } p { color: rgb(252, 153, 64); } header { border-bottom:1px solid #fc9940; }