#d5f295 Color
Color Codes | |
---|---|
Hex Code | #d5f295 |
RGB Code | rgb(213, 242, 149) |
HSL Code | hsl(79, 78%, 77%) |
#d5f295 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(213, 242, 149); }
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, 78%, 77%); }
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 #d5f295
RGB Code | Hex Code | Preview |
---|---|---|
rgb(213, 242, 149, 10%) | #d5f2951a | |
rgb(213, 242, 149, 20%) | #d5f29533 | |
rgb(213, 242, 149, 40%) | #d5f2954C | |
rgb(213, 242, 149, 60%) | #d5f29599 | |
rgb(213, 242, 149, 80%) | #d5f295CC | |
rgb(213, 242, 149, 100%) | #d5f295FF |
Saturated and desaturated colors of #d5f295
HSL Code | Preview |
---|---|
hsl(79, 10%, 77%) | |
hsl(79, 20%, 77%) | |
hsl(79, 40%, 77%) | |
hsl(79, 60%, 77%) | |
hsl(79, 80%, 77%) | |
hsl(79, 100%, 77%) |
#d5f295 Color Usage In CSS
body { color: #d5f295; } p { color: rgb(213, 242, 149); } header { border-bottom:1px solid #d5f295; }