#b8bd6d Color
Color Codes | |
---|---|
Hex Code | #b8bd6d |
RGB Code | rgb(184, 189, 109) |
HSL Code | hsl(64, 38%, 58%) |
#b8bd6d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(184, 189, 109); }
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(64, 38%, 58%); }
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 #b8bd6d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(184, 189, 109, 10%) | #b8bd6d1a | |
rgb(184, 189, 109, 20%) | #b8bd6d33 | |
rgb(184, 189, 109, 40%) | #b8bd6d4C | |
rgb(184, 189, 109, 60%) | #b8bd6d99 | |
rgb(184, 189, 109, 80%) | #b8bd6dCC | |
rgb(184, 189, 109, 100%) | #b8bd6dFF |
Saturated and desaturated colors of #b8bd6d
HSL Code | Preview |
---|---|
hsl(64, 10%, 58%) | |
hsl(64, 20%, 58%) | |
hsl(64, 40%, 58%) | |
hsl(64, 60%, 58%) | |
hsl(64, 80%, 58%) | |
hsl(64, 100%, 58%) |
#b8bd6d Color Usage In CSS
body { color: #b8bd6d; } p { color: rgb(184, 189, 109); } header { border-bottom:1px solid #b8bd6d; }