#f9eb3e Color
Color Codes | |
---|---|
Hex Code | #f9eb3e |
RGB Code | rgb(249, 235, 62) |
HSL Code | hsl(56, 94%, 61%) |
#f9eb3e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 235, 62); }
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(56, 94%, 61%); }
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 #f9eb3e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 235, 62, 10%) | #f9eb3e1a | |
rgb(249, 235, 62, 20%) | #f9eb3e33 | |
rgb(249, 235, 62, 40%) | #f9eb3e4C | |
rgb(249, 235, 62, 60%) | #f9eb3e99 | |
rgb(249, 235, 62, 80%) | #f9eb3eCC | |
rgb(249, 235, 62, 100%) | #f9eb3eFF |
Saturated and desaturated colors of #f9eb3e
HSL Code | Preview |
---|---|
hsl(56, 10%, 61%) | |
hsl(56, 20%, 61%) | |
hsl(56, 40%, 61%) | |
hsl(56, 60%, 61%) | |
hsl(56, 80%, 61%) | |
hsl(56, 100%, 61%) |
#f9eb3e Color Usage In CSS
body { color: #f9eb3e; } p { color: rgb(249, 235, 62); } header { border-bottom:1px solid #f9eb3e; }