#bae72d Color
Color Codes | |
---|---|
Hex Code | #bae72d |
RGB Code | rgb(186, 231, 45) |
HSL Code | hsl(75, 79%, 54%) |
#bae72d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(186, 231, 45); }
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(75, 79%, 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 #bae72d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(186, 231, 45, 10%) | #bae72d1a | |
rgb(186, 231, 45, 20%) | #bae72d33 | |
rgb(186, 231, 45, 40%) | #bae72d4C | |
rgb(186, 231, 45, 60%) | #bae72d99 | |
rgb(186, 231, 45, 80%) | #bae72dCC | |
rgb(186, 231, 45, 100%) | #bae72dFF |
Saturated and desaturated colors of #bae72d
HSL Code | Preview |
---|---|
hsl(75, 10%, 54%) | |
hsl(75, 20%, 54%) | |
hsl(75, 40%, 54%) | |
hsl(75, 60%, 54%) | |
hsl(75, 80%, 54%) | |
hsl(75, 100%, 54%) |
#bae72d Color Usage In CSS
body { color: #bae72d; } p { color: rgb(186, 231, 45); } header { border-bottom:1px solid #bae72d; }