#6a9c36 Color
Color Codes | |
---|---|
Hex Code | #6a9c36 |
RGB Code | rgb(106, 156, 54) |
HSL Code | hsl(89, 49%, 41%) |
#6a9c36 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(106, 156, 54); }
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(89, 49%, 41%); }
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 #6a9c36
RGB Code | Hex Code | Preview |
---|---|---|
rgb(106, 156, 54, 10%) | #6a9c361a | |
rgb(106, 156, 54, 20%) | #6a9c3633 | |
rgb(106, 156, 54, 40%) | #6a9c364C | |
rgb(106, 156, 54, 60%) | #6a9c3699 | |
rgb(106, 156, 54, 80%) | #6a9c36CC | |
rgb(106, 156, 54, 100%) | #6a9c36FF |
Saturated and desaturated colors of #6a9c36
HSL Code | Preview |
---|---|
hsl(89, 10%, 41%) | |
hsl(89, 20%, 41%) | |
hsl(89, 40%, 41%) | |
hsl(89, 60%, 41%) | |
hsl(89, 80%, 41%) | |
hsl(89, 100%, 41%) |
#6a9c36 Color Usage In CSS
body { color: #6a9c36; } p { color: rgb(106, 156, 54); } header { border-bottom:1px solid #6a9c36; }