#b14c2a Color
Color Codes | |
---|---|
Hex Code | #b14c2a |
RGB Code | rgb(177, 76, 42) |
HSL Code | hsl(15, 62%, 43%) |
#b14c2a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(177, 76, 42); }
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(15, 62%, 43%); }
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 #b14c2a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(177, 76, 42, 10%) | #b14c2a1a | |
rgb(177, 76, 42, 20%) | #b14c2a33 | |
rgb(177, 76, 42, 40%) | #b14c2a4C | |
rgb(177, 76, 42, 60%) | #b14c2a99 | |
rgb(177, 76, 42, 80%) | #b14c2aCC | |
rgb(177, 76, 42, 100%) | #b14c2aFF |
Saturated and desaturated colors of #b14c2a
HSL Code | Preview |
---|---|
hsl(15, 10%, 43%) | |
hsl(15, 20%, 43%) | |
hsl(15, 40%, 43%) | |
hsl(15, 60%, 43%) | |
hsl(15, 80%, 43%) | |
hsl(15, 100%, 43%) |
#b14c2a Color Usage In CSS
body { color: #b14c2a; } p { color: rgb(177, 76, 42); } header { border-bottom:1px solid #b14c2a; }