#fcb417 Color
Color Codes | |
---|---|
Hex Code | #fcb417 |
RGB Code | rgb(252, 180, 23) |
HSL Code | hsl(41, 97%, 54%) |
#fcb417 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(252, 180, 23); }
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(41, 97%, 54%); }
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 #fcb417
RGB Code | Hex Code | Preview |
---|---|---|
rgb(252, 180, 23, 10%) | #fcb4171a | |
rgb(252, 180, 23, 20%) | #fcb41733 | |
rgb(252, 180, 23, 40%) | #fcb4174C | |
rgb(252, 180, 23, 60%) | #fcb41799 | |
rgb(252, 180, 23, 80%) | #fcb417CC | |
rgb(252, 180, 23, 100%) | #fcb417FF |
Saturated and desaturated colors of #fcb417
HSL Code | Preview |
---|---|
hsl(41, 10%, 54%) | |
hsl(41, 20%, 54%) | |
hsl(41, 40%, 54%) | |
hsl(41, 60%, 54%) | |
hsl(41, 80%, 54%) | |
hsl(41, 100%, 54%) |
#fcb417 Color Usage In CSS
body { color: #fcb417; } p { color: rgb(252, 180, 23); } header { border-bottom:1px solid #fcb417; }