#1bcc08 Color
Color Codes | |
---|---|
Hex Code | #1bcc08 |
RGB Code | rgb(27, 204, 08) |
HSL Code | hsl(114, 92%, 42%) |
#1bcc08 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 204, 08); }
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(114, 92%, 42%); }
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 #1bcc08
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 204, 08, 10%) | #1bcc081a | |
rgb(27, 204, 08, 20%) | #1bcc0833 | |
rgb(27, 204, 08, 40%) | #1bcc084C | |
rgb(27, 204, 08, 60%) | #1bcc0899 | |
rgb(27, 204, 08, 80%) | #1bcc08CC | |
rgb(27, 204, 08, 100%) | #1bcc08FF |
Saturated and desaturated colors of #1bcc08
HSL Code | Preview |
---|---|
hsl(114, 10%, 42%) | |
hsl(114, 20%, 42%) | |
hsl(114, 40%, 42%) | |
hsl(114, 60%, 42%) | |
hsl(114, 80%, 42%) | |
hsl(114, 100%, 42%) |
#1bcc08 Color Usage In CSS
body { color: #1bcc08; } p { color: rgb(27, 204, 08); } header { border-bottom:1px solid #1bcc08; }