#b45019 Color
Color Codes | |
---|---|
Hex Code | #b45019 |
RGB Code | rgb(180, 80, 25) |
HSL Code | hsl(21, 76%, 40%) |
#b45019 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(180, 80, 25); }
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(21, 76%, 40%); }
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 #b45019
RGB Code | Hex Code | Preview |
---|---|---|
rgb(180, 80, 25, 10%) | #b450191a | |
rgb(180, 80, 25, 20%) | #b4501933 | |
rgb(180, 80, 25, 40%) | #b450194C | |
rgb(180, 80, 25, 60%) | #b4501999 | |
rgb(180, 80, 25, 80%) | #b45019CC | |
rgb(180, 80, 25, 100%) | #b45019FF |
Saturated and desaturated colors of #b45019
HSL Code | Preview |
---|---|
hsl(21, 10%, 40%) | |
hsl(21, 20%, 40%) | |
hsl(21, 40%, 40%) | |
hsl(21, 60%, 40%) | |
hsl(21, 80%, 40%) | |
hsl(21, 100%, 40%) |
#b45019 Color Usage In CSS
body { color: #b45019; } p { color: rgb(180, 80, 25); } header { border-bottom:1px solid #b45019; }