#d8fd1a Color
Color Codes | |
---|---|
Hex Code | #d8fd1a |
RGB Code | rgb(216, 253, 26) |
HSL Code | hsl(70, 98%, 55%) |
#d8fd1a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 253, 26); }
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(70, 98%, 55%); }
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 #d8fd1a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 253, 26, 10%) | #d8fd1a1a | |
rgb(216, 253, 26, 20%) | #d8fd1a33 | |
rgb(216, 253, 26, 40%) | #d8fd1a4C | |
rgb(216, 253, 26, 60%) | #d8fd1a99 | |
rgb(216, 253, 26, 80%) | #d8fd1aCC | |
rgb(216, 253, 26, 100%) | #d8fd1aFF |
Saturated and desaturated colors of #d8fd1a
HSL Code | Preview |
---|---|
hsl(70, 10%, 55%) | |
hsl(70, 20%, 55%) | |
hsl(70, 40%, 55%) | |
hsl(70, 60%, 55%) | |
hsl(70, 80%, 55%) | |
hsl(70, 100%, 55%) |
#d8fd1a Color Usage In CSS
body { color: #d8fd1a; } p { color: rgb(216, 253, 26); } header { border-bottom:1px solid #d8fd1a; }