#bdd31a Color
Color Codes | |
---|---|
Hex Code | #bdd31a |
RGB Code | rgb(189, 211, 26) |
HSL Code | hsl(67, 78%, 46%) |
#bdd31a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(189, 211, 26); }
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, 78%, 46%); }
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 #bdd31a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(189, 211, 26, 10%) | #bdd31a1a | |
rgb(189, 211, 26, 20%) | #bdd31a33 | |
rgb(189, 211, 26, 40%) | #bdd31a4C | |
rgb(189, 211, 26, 60%) | #bdd31a99 | |
rgb(189, 211, 26, 80%) | #bdd31aCC | |
rgb(189, 211, 26, 100%) | #bdd31aFF |
Saturated and desaturated colors of #bdd31a
HSL Code | Preview |
---|---|
hsl(67, 10%, 46%) | |
hsl(67, 20%, 46%) | |
hsl(67, 40%, 46%) | |
hsl(67, 60%, 46%) | |
hsl(67, 80%, 46%) | |
hsl(67, 100%, 46%) |
#bdd31a Color Usage In CSS
body { color: #bdd31a; } p { color: rgb(189, 211, 26); } header { border-bottom:1px solid #bdd31a; }