#b8ed30 Color
Color Codes | |
---|---|
Hex Code | #b8ed30 |
RGB Code | rgb(184, 237, 48) |
HSL Code | hsl(77, 84%, 56%) |
#b8ed30 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(184, 237, 48); }
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(77, 84%, 56%); }
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 #b8ed30
RGB Code | Hex Code | Preview |
---|---|---|
rgb(184, 237, 48, 10%) | #b8ed301a | |
rgb(184, 237, 48, 20%) | #b8ed3033 | |
rgb(184, 237, 48, 40%) | #b8ed304C | |
rgb(184, 237, 48, 60%) | #b8ed3099 | |
rgb(184, 237, 48, 80%) | #b8ed30CC | |
rgb(184, 237, 48, 100%) | #b8ed30FF |
Saturated and desaturated colors of #b8ed30
HSL Code | Preview |
---|---|
hsl(77, 10%, 56%) | |
hsl(77, 20%, 56%) | |
hsl(77, 40%, 56%) | |
hsl(77, 60%, 56%) | |
hsl(77, 80%, 56%) | |
hsl(77, 100%, 56%) |
#b8ed30 Color Usage In CSS
body { color: #b8ed30; } p { color: rgb(184, 237, 48); } header { border-bottom:1px solid #b8ed30; }