#f3e49a Color
Color Codes | |
---|---|
Hex Code | #f3e49a |
RGB Code | rgb(243, 228, 154) |
HSL Code | hsl(50, 79%, 78%) |
#f3e49a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(243, 228, 154); }
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, 79%, 78%); }
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 #f3e49a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(243, 228, 154, 10%) | #f3e49a1a | |
rgb(243, 228, 154, 20%) | #f3e49a33 | |
rgb(243, 228, 154, 40%) | #f3e49a4C | |
rgb(243, 228, 154, 60%) | #f3e49a99 | |
rgb(243, 228, 154, 80%) | #f3e49aCC | |
rgb(243, 228, 154, 100%) | #f3e49aFF |
Saturated and desaturated colors of #f3e49a
HSL Code | Preview |
---|---|
hsl(50, 10%, 78%) | |
hsl(50, 20%, 78%) | |
hsl(50, 40%, 78%) | |
hsl(50, 60%, 78%) | |
hsl(50, 80%, 78%) | |
hsl(50, 100%, 78%) |
#f3e49a Color Usage In CSS
body { color: #f3e49a; } p { color: rgb(243, 228, 154); } header { border-bottom:1px solid #f3e49a; }