#fcec5f Color
Color Codes | |
---|---|
Hex Code | #fcec5f |
RGB Code | rgb(252, 236, 95) |
HSL Code | hsl(54, 96%, 68%) |
#fcec5f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(252, 236, 95); }
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(54, 96%, 68%); }
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 #fcec5f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(252, 236, 95, 10%) | #fcec5f1a | |
rgb(252, 236, 95, 20%) | #fcec5f33 | |
rgb(252, 236, 95, 40%) | #fcec5f4C | |
rgb(252, 236, 95, 60%) | #fcec5f99 | |
rgb(252, 236, 95, 80%) | #fcec5fCC | |
rgb(252, 236, 95, 100%) | #fcec5fFF |
Saturated and desaturated colors of #fcec5f
HSL Code | Preview |
---|---|
hsl(54, 10%, 68%) | |
hsl(54, 20%, 68%) | |
hsl(54, 40%, 68%) | |
hsl(54, 60%, 68%) | |
hsl(54, 80%, 68%) | |
hsl(54, 100%, 68%) |
#fcec5f Color Usage In CSS
body { color: #fcec5f; } p { color: rgb(252, 236, 95); } header { border-bottom:1px solid #fcec5f; }