#d8f80d Color
Color Codes | |
---|---|
Hex Code | #d8f80d |
RGB Code | rgb(216, 248, 13) |
HSL Code | hsl(68, 94%, 51%) |
#d8f80d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 248, 13); }
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(68, 94%, 51%); }
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 #d8f80d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 248, 13, 10%) | #d8f80d1a | |
rgb(216, 248, 13, 20%) | #d8f80d33 | |
rgb(216, 248, 13, 40%) | #d8f80d4C | |
rgb(216, 248, 13, 60%) | #d8f80d99 | |
rgb(216, 248, 13, 80%) | #d8f80dCC | |
rgb(216, 248, 13, 100%) | #d8f80dFF |
Saturated and desaturated colors of #d8f80d
HSL Code | Preview |
---|---|
hsl(68, 10%, 51%) | |
hsl(68, 20%, 51%) | |
hsl(68, 40%, 51%) | |
hsl(68, 60%, 51%) | |
hsl(68, 80%, 51%) | |
hsl(68, 100%, 51%) |
#d8f80d Color Usage In CSS
body { color: #d8f80d; } p { color: rgb(216, 248, 13); } header { border-bottom:1px solid #d8f80d; }