#f9ee2e Color
Color Codes | |
---|---|
Hex Code | #f9ee2e |
RGB Code | rgb(249, 238, 46) |
HSL Code | hsl(57, 94%, 58%) |
#f9ee2e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 238, 46); }
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(57, 94%, 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 #f9ee2e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 238, 46, 10%) | #f9ee2e1a | |
rgb(249, 238, 46, 20%) | #f9ee2e33 | |
rgb(249, 238, 46, 40%) | #f9ee2e4C | |
rgb(249, 238, 46, 60%) | #f9ee2e99 | |
rgb(249, 238, 46, 80%) | #f9ee2eCC | |
rgb(249, 238, 46, 100%) | #f9ee2eFF |
Saturated and desaturated colors of #f9ee2e
HSL Code | Preview |
---|---|
hsl(57, 10%, 58%) | |
hsl(57, 20%, 58%) | |
hsl(57, 40%, 58%) | |
hsl(57, 60%, 58%) | |
hsl(57, 80%, 58%) | |
hsl(57, 100%, 58%) |
#f9ee2e Color Usage In CSS
body { color: #f9ee2e; } p { color: rgb(249, 238, 46); } header { border-bottom:1px solid #f9ee2e; }