#f5e378 Color
Color Codes | |
---|---|
Hex Code | #f5e378 |
RGB Code | rgb(245, 227, 120) |
HSL Code | hsl(51, 86%, 72%) |
#f5e378 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(245, 227, 120); }
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(51, 86%, 72%); }
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 #f5e378
RGB Code | Hex Code | Preview |
---|---|---|
rgb(245, 227, 120, 10%) | #f5e3781a | |
rgb(245, 227, 120, 20%) | #f5e37833 | |
rgb(245, 227, 120, 40%) | #f5e3784C | |
rgb(245, 227, 120, 60%) | #f5e37899 | |
rgb(245, 227, 120, 80%) | #f5e378CC | |
rgb(245, 227, 120, 100%) | #f5e378FF |
Saturated and desaturated colors of #f5e378
HSL Code | Preview |
---|---|
hsl(51, 10%, 72%) | |
hsl(51, 20%, 72%) | |
hsl(51, 40%, 72%) | |
hsl(51, 60%, 72%) | |
hsl(51, 80%, 72%) | |
hsl(51, 100%, 72%) |
#f5e378 Color Usage In CSS
body { color: #f5e378; } p { color: rgb(245, 227, 120); } header { border-bottom:1px solid #f5e378; }