#f7ba58 Color
Color Codes | |
---|---|
Hex Code | #f7ba58 |
RGB Code | rgb(247, 186, 88) |
HSL Code | hsl(37, 91%, 66%) |
#f7ba58 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(247, 186, 88); }
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(37, 91%, 66%); }
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 #f7ba58
RGB Code | Hex Code | Preview |
---|---|---|
rgb(247, 186, 88, 10%) | #f7ba581a | |
rgb(247, 186, 88, 20%) | #f7ba5833 | |
rgb(247, 186, 88, 40%) | #f7ba584C | |
rgb(247, 186, 88, 60%) | #f7ba5899 | |
rgb(247, 186, 88, 80%) | #f7ba58CC | |
rgb(247, 186, 88, 100%) | #f7ba58FF |
Saturated and desaturated colors of #f7ba58
HSL Code | Preview |
---|---|
hsl(37, 10%, 66%) | |
hsl(37, 20%, 66%) | |
hsl(37, 40%, 66%) | |
hsl(37, 60%, 66%) | |
hsl(37, 80%, 66%) | |
hsl(37, 100%, 66%) |
#f7ba58 Color Usage In CSS
body { color: #f7ba58; } p { color: rgb(247, 186, 88); } header { border-bottom:1px solid #f7ba58; }