#f8e246 Color
Color Codes | |
---|---|
Hex Code | #f8e246 |
RGB Code | rgb(248, 226, 70) |
HSL Code | hsl(53, 93%, 62%) |
#f8e246 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 226, 70); }
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(53, 93%, 62%); }
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 #f8e246
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 226, 70, 10%) | #f8e2461a | |
rgb(248, 226, 70, 20%) | #f8e24633 | |
rgb(248, 226, 70, 40%) | #f8e2464C | |
rgb(248, 226, 70, 60%) | #f8e24699 | |
rgb(248, 226, 70, 80%) | #f8e246CC | |
rgb(248, 226, 70, 100%) | #f8e246FF |
Saturated and desaturated colors of #f8e246
HSL Code | Preview |
---|---|
hsl(53, 10%, 62%) | |
hsl(53, 20%, 62%) | |
hsl(53, 40%, 62%) | |
hsl(53, 60%, 62%) | |
hsl(53, 80%, 62%) | |
hsl(53, 100%, 62%) |
#f8e246 Color Usage In CSS
body { color: #f8e246; } p { color: rgb(248, 226, 70); } header { border-bottom:1px solid #f8e246; }