#226949 Color
Color Codes | |
---|---|
Hex Code | #226949 |
RGB Code | rgb(34, 105, 73) |
HSL Code | hsl(153, 51%, 27%) |
#226949 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(34, 105, 73); }
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(153, 51%, 27%); }
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 #226949
RGB Code | Hex Code | Preview |
---|---|---|
rgb(34, 105, 73, 10%) | #2269491a | |
rgb(34, 105, 73, 20%) | #22694933 | |
rgb(34, 105, 73, 40%) | #2269494C | |
rgb(34, 105, 73, 60%) | #22694999 | |
rgb(34, 105, 73, 80%) | #226949CC | |
rgb(34, 105, 73, 100%) | #226949FF |
Saturated and desaturated colors of #226949
HSL Code | Preview |
---|---|
hsl(153, 10%, 27%) | |
hsl(153, 20%, 27%) | |
hsl(153, 40%, 27%) | |
hsl(153, 60%, 27%) | |
hsl(153, 80%, 27%) | |
hsl(153, 100%, 27%) |
#226949 Color Usage In CSS
body { color: #226949; } p { color: rgb(34, 105, 73); } header { border-bottom:1px solid #226949; }