#1bd817 Color
Color Codes | |
---|---|
Hex Code | #1bd817 |
RGB Code | rgb(27, 216, 23) |
HSL Code | hsl(119, 81%, 47%) |
#1bd817 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 216, 23); }
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(119, 81%, 47%); }
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 #1bd817
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 216, 23, 10%) | #1bd8171a | |
rgb(27, 216, 23, 20%) | #1bd81733 | |
rgb(27, 216, 23, 40%) | #1bd8174C | |
rgb(27, 216, 23, 60%) | #1bd81799 | |
rgb(27, 216, 23, 80%) | #1bd817CC | |
rgb(27, 216, 23, 100%) | #1bd817FF |
Saturated and desaturated colors of #1bd817
HSL Code | Preview |
---|---|
hsl(119, 10%, 47%) | |
hsl(119, 20%, 47%) | |
hsl(119, 40%, 47%) | |
hsl(119, 60%, 47%) | |
hsl(119, 80%, 47%) | |
hsl(119, 100%, 47%) |
#1bd817 Color Usage In CSS
body { color: #1bd817; } p { color: rgb(27, 216, 23); } header { border-bottom:1px solid #1bd817; }