#bac949 Color
Color Codes | |
---|---|
Hex Code | #bac949 |
RGB Code | rgb(186, 201, 73) |
HSL Code | hsl(67, 54%, 54%) |
#bac949 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(186, 201, 73); }
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(67, 54%, 54%); }
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 #bac949
RGB Code | Hex Code | Preview |
---|---|---|
rgb(186, 201, 73, 10%) | #bac9491a | |
rgb(186, 201, 73, 20%) | #bac94933 | |
rgb(186, 201, 73, 40%) | #bac9494C | |
rgb(186, 201, 73, 60%) | #bac94999 | |
rgb(186, 201, 73, 80%) | #bac949CC | |
rgb(186, 201, 73, 100%) | #bac949FF |
Saturated and desaturated colors of #bac949
HSL Code | Preview |
---|---|
hsl(67, 10%, 54%) | |
hsl(67, 20%, 54%) | |
hsl(67, 40%, 54%) | |
hsl(67, 60%, 54%) | |
hsl(67, 80%, 54%) | |
hsl(67, 100%, 54%) |
#bac949 Color Usage In CSS
body { color: #bac949; } p { color: rgb(186, 201, 73); } header { border-bottom:1px solid #bac949; }