#0d5b21 Color
Color Codes | |
---|---|
Hex Code | #0d5b21 |
RGB Code | rgb(13, 91, 33) |
HSL Code | hsl(135, 75%, 20%) |
#0d5b21 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(13, 91, 33); }
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, 75%, 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 #0d5b21
RGB Code | Hex Code | Preview |
---|---|---|
rgb(13, 91, 33, 10%) | #0d5b211a | |
rgb(13, 91, 33, 20%) | #0d5b2133 | |
rgb(13, 91, 33, 40%) | #0d5b214C | |
rgb(13, 91, 33, 60%) | #0d5b2199 | |
rgb(13, 91, 33, 80%) | #0d5b21CC | |
rgb(13, 91, 33, 100%) | #0d5b21FF |
Saturated and desaturated colors of #0d5b21
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%) |
#0d5b21 Color Usage In CSS
body { color: #0d5b21; } p { color: rgb(13, 91, 33); } header { border-bottom:1px solid #0d5b21; }