#225d3b Color
Color Codes | |
---|---|
Hex Code | #225d3b |
RGB Code | rgb(34, 93, 59) |
HSL Code | hsl(145, 46%, 25%) |
#225d3b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(34, 93, 59); }
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(145, 46%, 25%); }
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 #225d3b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(34, 93, 59, 10%) | #225d3b1a | |
rgb(34, 93, 59, 20%) | #225d3b33 | |
rgb(34, 93, 59, 40%) | #225d3b4C | |
rgb(34, 93, 59, 60%) | #225d3b99 | |
rgb(34, 93, 59, 80%) | #225d3bCC | |
rgb(34, 93, 59, 100%) | #225d3bFF |
Saturated and desaturated colors of #225d3b
HSL Code | Preview |
---|---|
hsl(145, 10%, 25%) | |
hsl(145, 20%, 25%) | |
hsl(145, 40%, 25%) | |
hsl(145, 60%, 25%) | |
hsl(145, 80%, 25%) | |
hsl(145, 100%, 25%) |
#225d3b Color Usage In CSS
body { color: #225d3b; } p { color: rgb(34, 93, 59); } header { border-bottom:1px solid #225d3b; }