#fcc807 Color
Color Codes | |
---|---|
Hex Code | #fcc807 |
RGB Code | rgb(252, 200, 07) |
HSL Code | hsl(47, 98%, 51%) |
#fcc807 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(252, 200, 07); }
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(47, 98%, 51%); }
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 #fcc807
RGB Code | Hex Code | Preview |
---|---|---|
rgb(252, 200, 07, 10%) | #fcc8071a | |
rgb(252, 200, 07, 20%) | #fcc80733 | |
rgb(252, 200, 07, 40%) | #fcc8074C | |
rgb(252, 200, 07, 60%) | #fcc80799 | |
rgb(252, 200, 07, 80%) | #fcc807CC | |
rgb(252, 200, 07, 100%) | #fcc807FF |
Saturated and desaturated colors of #fcc807
HSL Code | Preview |
---|---|
hsl(47, 10%, 51%) | |
hsl(47, 20%, 51%) | |
hsl(47, 40%, 51%) | |
hsl(47, 60%, 51%) | |
hsl(47, 80%, 51%) | |
hsl(47, 100%, 51%) |
#fcc807 Color Usage In CSS
body { color: #fcc807; } p { color: rgb(252, 200, 07); } header { border-bottom:1px solid #fcc807; }