#bdea5b Color
Color Codes | |
---|---|
Hex Code | #bdea5b |
RGB Code | rgb(189, 234, 91) |
HSL Code | hsl(79, 77%, 64%) |
#bdea5b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(189, 234, 91); }
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(79, 77%, 64%); }
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 #bdea5b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(189, 234, 91, 10%) | #bdea5b1a | |
rgb(189, 234, 91, 20%) | #bdea5b33 | |
rgb(189, 234, 91, 40%) | #bdea5b4C | |
rgb(189, 234, 91, 60%) | #bdea5b99 | |
rgb(189, 234, 91, 80%) | #bdea5bCC | |
rgb(189, 234, 91, 100%) | #bdea5bFF |
Saturated and desaturated colors of #bdea5b
HSL Code | Preview |
---|---|
hsl(79, 10%, 64%) | |
hsl(79, 20%, 64%) | |
hsl(79, 40%, 64%) | |
hsl(79, 60%, 64%) | |
hsl(79, 80%, 64%) | |
hsl(79, 100%, 64%) |
#bdea5b Color Usage In CSS
body { color: #bdea5b; } p { color: rgb(189, 234, 91); } header { border-bottom:1px solid #bdea5b; }