#f7d004 Color
Color Codes | |
---|---|
Hex Code | #f7d004 |
RGB Code | rgb(247, 208, 04) |
HSL Code | hsl(50, 97%, 49%) |
#f7d004 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(247, 208, 04); }
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(50, 97%, 49%); }
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 #f7d004
RGB Code | Hex Code | Preview |
---|---|---|
rgb(247, 208, 04, 10%) | #f7d0041a | |
rgb(247, 208, 04, 20%) | #f7d00433 | |
rgb(247, 208, 04, 40%) | #f7d0044C | |
rgb(247, 208, 04, 60%) | #f7d00499 | |
rgb(247, 208, 04, 80%) | #f7d004CC | |
rgb(247, 208, 04, 100%) | #f7d004FF |
Saturated and desaturated colors of #f7d004
HSL Code | Preview |
---|---|
hsl(50, 10%, 49%) | |
hsl(50, 20%, 49%) | |
hsl(50, 40%, 49%) | |
hsl(50, 60%, 49%) | |
hsl(50, 80%, 49%) | |
hsl(50, 100%, 49%) |
#f7d004 Color Usage In CSS
body { color: #f7d004; } p { color: rgb(247, 208, 04); } header { border-bottom:1px solid #f7d004; }