#bab109 Color
Color Codes | |
---|---|
Hex Code | #bab109 |
RGB Code | rgb(186, 177, 09) |
HSL Code | hsl(57, 91%, 38%) |
#bab109 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(186, 177, 09); }
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(57, 91%, 38%); }
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 #bab109
RGB Code | Hex Code | Preview |
---|---|---|
rgb(186, 177, 09, 10%) | #bab1091a | |
rgb(186, 177, 09, 20%) | #bab10933 | |
rgb(186, 177, 09, 40%) | #bab1094C | |
rgb(186, 177, 09, 60%) | #bab10999 | |
rgb(186, 177, 09, 80%) | #bab109CC | |
rgb(186, 177, 09, 100%) | #bab109FF |
Saturated and desaturated colors of #bab109
HSL Code | Preview |
---|---|
hsl(57, 10%, 38%) | |
hsl(57, 20%, 38%) | |
hsl(57, 40%, 38%) | |
hsl(57, 60%, 38%) | |
hsl(57, 80%, 38%) | |
hsl(57, 100%, 38%) |
#bab109 Color Usage In CSS
body { color: #bab109; } p { color: rgb(186, 177, 09); } header { border-bottom:1px solid #bab109; }