#f8e61a Color
Color Codes | |
---|---|
Hex Code | #f8e61a |
RGB Code | rgb(248, 230, 26) |
HSL Code | hsl(55, 94%, 54%) |
#f8e61a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 230, 26); }
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(55, 94%, 54%); }
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 #f8e61a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 230, 26, 10%) | #f8e61a1a | |
rgb(248, 230, 26, 20%) | #f8e61a33 | |
rgb(248, 230, 26, 40%) | #f8e61a4C | |
rgb(248, 230, 26, 60%) | #f8e61a99 | |
rgb(248, 230, 26, 80%) | #f8e61aCC | |
rgb(248, 230, 26, 100%) | #f8e61aFF |
Saturated and desaturated colors of #f8e61a
HSL Code | Preview |
---|---|
hsl(55, 10%, 54%) | |
hsl(55, 20%, 54%) | |
hsl(55, 40%, 54%) | |
hsl(55, 60%, 54%) | |
hsl(55, 80%, 54%) | |
hsl(55, 100%, 54%) |
#f8e61a Color Usage In CSS
body { color: #f8e61a; } p { color: rgb(248, 230, 26); } header { border-bottom:1px solid #f8e61a; }