#f5e495 Color
Color Codes | |
---|---|
Hex Code | #f5e495 |
RGB Code | rgb(245, 228, 149) |
HSL Code | hsl(49, 83%, 77%) |
#f5e495 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(245, 228, 149); }
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(49, 83%, 77%); }
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 #f5e495
RGB Code | Hex Code | Preview |
---|---|---|
rgb(245, 228, 149, 10%) | #f5e4951a | |
rgb(245, 228, 149, 20%) | #f5e49533 | |
rgb(245, 228, 149, 40%) | #f5e4954C | |
rgb(245, 228, 149, 60%) | #f5e49599 | |
rgb(245, 228, 149, 80%) | #f5e495CC | |
rgb(245, 228, 149, 100%) | #f5e495FF |
Saturated and desaturated colors of #f5e495
HSL Code | Preview |
---|---|
hsl(49, 10%, 77%) | |
hsl(49, 20%, 77%) | |
hsl(49, 40%, 77%) | |
hsl(49, 60%, 77%) | |
hsl(49, 80%, 77%) | |
hsl(49, 100%, 77%) |
#f5e495 Color Usage In CSS
body { color: #f5e495; } p { color: rgb(245, 228, 149); } header { border-bottom:1px solid #f5e495; }