#b3da3a Color
Color Codes | |
---|---|
Hex Code | #b3da3a |
RGB Code | rgb(179, 218, 58) |
HSL Code | hsl(75, 68%, 54%) |
#b3da3a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(179, 218, 58); }
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, 68%, 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 #b3da3a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(179, 218, 58, 10%) | #b3da3a1a | |
rgb(179, 218, 58, 20%) | #b3da3a33 | |
rgb(179, 218, 58, 40%) | #b3da3a4C | |
rgb(179, 218, 58, 60%) | #b3da3a99 | |
rgb(179, 218, 58, 80%) | #b3da3aCC | |
rgb(179, 218, 58, 100%) | #b3da3aFF |
Saturated and desaturated colors of #b3da3a
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%) |
#b3da3a Color Usage In CSS
body { color: #b3da3a; } p { color: rgb(179, 218, 58); } header { border-bottom:1px solid #b3da3a; }