#155224 Color
Color Codes | |
---|---|
Hex Code | #155224 |
RGB Code | rgb(21, 82, 36) |
HSL Code | hsl(135, 59%, 20%) |
#155224 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(21, 82, 36); }
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(135, 59%, 20%); }
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 #155224
RGB Code | Hex Code | Preview |
---|---|---|
rgb(21, 82, 36, 10%) | #1552241a | |
rgb(21, 82, 36, 20%) | #15522433 | |
rgb(21, 82, 36, 40%) | #1552244C | |
rgb(21, 82, 36, 60%) | #15522499 | |
rgb(21, 82, 36, 80%) | #155224CC | |
rgb(21, 82, 36, 100%) | #155224FF |
Saturated and desaturated colors of #155224
HSL Code | Preview |
---|---|
hsl(135, 10%, 20%) | |
hsl(135, 20%, 20%) | |
hsl(135, 40%, 20%) | |
hsl(135, 60%, 20%) | |
hsl(135, 80%, 20%) | |
hsl(135, 100%, 20%) |
#155224 Color Usage In CSS
body { color: #155224; } p { color: rgb(21, 82, 36); } header { border-bottom:1px solid #155224; }