#fcf62c Color
Color Codes | |
---|---|
Hex Code | #fcf62c |
RGB Code | rgb(252, 246, 44) |
HSL Code | hsl(58, 97%, 58%) |
#fcf62c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(252, 246, 44); }
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(58, 97%, 58%); }
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 #fcf62c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(252, 246, 44, 10%) | #fcf62c1a | |
rgb(252, 246, 44, 20%) | #fcf62c33 | |
rgb(252, 246, 44, 40%) | #fcf62c4C | |
rgb(252, 246, 44, 60%) | #fcf62c99 | |
rgb(252, 246, 44, 80%) | #fcf62cCC | |
rgb(252, 246, 44, 100%) | #fcf62cFF |
Saturated and desaturated colors of #fcf62c
HSL Code | Preview |
---|---|
hsl(58, 10%, 58%) | |
hsl(58, 20%, 58%) | |
hsl(58, 40%, 58%) | |
hsl(58, 60%, 58%) | |
hsl(58, 80%, 58%) | |
hsl(58, 100%, 58%) |
#fcf62c Color Usage In CSS
body { color: #fcf62c; } p { color: rgb(252, 246, 44); } header { border-bottom:1px solid #fcf62c; }