#f0b044 Color
Color Codes | |
---|---|
Hex Code | #f0b044 |
RGB Code | rgb(240, 176, 68) |
HSL Code | hsl(38, 85%, 60%) |
#f0b044 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(240, 176, 68); }
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(38, 85%, 60%); }
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 #f0b044
RGB Code | Hex Code | Preview |
---|---|---|
rgb(240, 176, 68, 10%) | #f0b0441a | |
rgb(240, 176, 68, 20%) | #f0b04433 | |
rgb(240, 176, 68, 40%) | #f0b0444C | |
rgb(240, 176, 68, 60%) | #f0b04499 | |
rgb(240, 176, 68, 80%) | #f0b044CC | |
rgb(240, 176, 68, 100%) | #f0b044FF |
Saturated and desaturated colors of #f0b044
HSL Code | Preview |
---|---|
hsl(38, 10%, 60%) | |
hsl(38, 20%, 60%) | |
hsl(38, 40%, 60%) | |
hsl(38, 60%, 60%) | |
hsl(38, 80%, 60%) | |
hsl(38, 100%, 60%) |
#f0b044 Color Usage In CSS
body { color: #f0b044; } p { color: rgb(240, 176, 68); } header { border-bottom:1px solid #f0b044; }