#d2f41a Color
Color Codes | |
---|---|
Hex Code | #d2f41a |
RGB Code | rgb(210, 244, 26) |
HSL Code | hsl(69, 91%, 53%) |
#d2f41a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 244, 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(69, 91%, 53%); }
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 #d2f41a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 244, 26, 10%) | #d2f41a1a | |
rgb(210, 244, 26, 20%) | #d2f41a33 | |
rgb(210, 244, 26, 40%) | #d2f41a4C | |
rgb(210, 244, 26, 60%) | #d2f41a99 | |
rgb(210, 244, 26, 80%) | #d2f41aCC | |
rgb(210, 244, 26, 100%) | #d2f41aFF |
Saturated and desaturated colors of #d2f41a
HSL Code | Preview |
---|---|
hsl(69, 10%, 53%) | |
hsl(69, 20%, 53%) | |
hsl(69, 40%, 53%) | |
hsl(69, 60%, 53%) | |
hsl(69, 80%, 53%) | |
hsl(69, 100%, 53%) |
#d2f41a Color Usage In CSS
body { color: #d2f41a; } p { color: rgb(210, 244, 26); } header { border-bottom:1px solid #d2f41a; }