#d2fb14 Color
Color Codes | |
---|---|
Hex Code | #d2fb14 |
RGB Code | rgb(210, 251, 20) |
HSL Code | hsl(71, 97%, 53%) |
#d2fb14 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 251, 20); }
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(71, 97%, 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 #d2fb14
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 251, 20, 10%) | #d2fb141a | |
rgb(210, 251, 20, 20%) | #d2fb1433 | |
rgb(210, 251, 20, 40%) | #d2fb144C | |
rgb(210, 251, 20, 60%) | #d2fb1499 | |
rgb(210, 251, 20, 80%) | #d2fb14CC | |
rgb(210, 251, 20, 100%) | #d2fb14FF |
Saturated and desaturated colors of #d2fb14
HSL Code | Preview |
---|---|
hsl(71, 10%, 53%) | |
hsl(71, 20%, 53%) | |
hsl(71, 40%, 53%) | |
hsl(71, 60%, 53%) | |
hsl(71, 80%, 53%) | |
hsl(71, 100%, 53%) |
#d2fb14 Color Usage In CSS
body { color: #d2fb14; } p { color: rgb(210, 251, 20); } header { border-bottom:1px solid #d2fb14; }