#1b8013 Color
Color Codes | |
---|---|
Hex Code | #1b8013 |
RGB Code | rgb(27, 128, 19) |
HSL Code | hsl(116, 74%, 29%) |
#1b8013 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 128, 19); }
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(116, 74%, 29%); }
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 #1b8013
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 128, 19, 10%) | #1b80131a | |
rgb(27, 128, 19, 20%) | #1b801333 | |
rgb(27, 128, 19, 40%) | #1b80134C | |
rgb(27, 128, 19, 60%) | #1b801399 | |
rgb(27, 128, 19, 80%) | #1b8013CC | |
rgb(27, 128, 19, 100%) | #1b8013FF |
Saturated and desaturated colors of #1b8013
HSL Code | Preview |
---|---|
hsl(116, 10%, 29%) | |
hsl(116, 20%, 29%) | |
hsl(116, 40%, 29%) | |
hsl(116, 60%, 29%) | |
hsl(116, 80%, 29%) | |
hsl(116, 100%, 29%) |
#1b8013 Color Usage In CSS
body { color: #1b8013; } p { color: rgb(27, 128, 19); } header { border-bottom:1px solid #1b8013; }