#d1f927 Color
Color Codes | |
---|---|
Hex Code | #d1f927 |
RGB Code | rgb(209, 249, 39) |
HSL Code | hsl(71, 95%, 56%) |
#d1f927 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(209, 249, 39); }
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, 95%, 56%); }
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 #d1f927
RGB Code | Hex Code | Preview |
---|---|---|
rgb(209, 249, 39, 10%) | #d1f9271a | |
rgb(209, 249, 39, 20%) | #d1f92733 | |
rgb(209, 249, 39, 40%) | #d1f9274C | |
rgb(209, 249, 39, 60%) | #d1f92799 | |
rgb(209, 249, 39, 80%) | #d1f927CC | |
rgb(209, 249, 39, 100%) | #d1f927FF |
Saturated and desaturated colors of #d1f927
HSL Code | Preview |
---|---|
hsl(71, 10%, 56%) | |
hsl(71, 20%, 56%) | |
hsl(71, 40%, 56%) | |
hsl(71, 60%, 56%) | |
hsl(71, 80%, 56%) | |
hsl(71, 100%, 56%) |
#d1f927 Color Usage In CSS
body { color: #d1f927; } p { color: rgb(209, 249, 39); } header { border-bottom:1px solid #d1f927; }