#6aa320 Color
Color Codes | |
---|---|
Hex Code | #6aa320 |
RGB Code | rgb(106, 163, 32) |
HSL Code | hsl(86, 67%, 38%) |
#6aa320 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(106, 163, 32); }
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(86, 67%, 38%); }
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 #6aa320
RGB Code | Hex Code | Preview |
---|---|---|
rgb(106, 163, 32, 10%) | #6aa3201a | |
rgb(106, 163, 32, 20%) | #6aa32033 | |
rgb(106, 163, 32, 40%) | #6aa3204C | |
rgb(106, 163, 32, 60%) | #6aa32099 | |
rgb(106, 163, 32, 80%) | #6aa320CC | |
rgb(106, 163, 32, 100%) | #6aa320FF |
Saturated and desaturated colors of #6aa320
HSL Code | Preview |
---|---|
hsl(86, 10%, 38%) | |
hsl(86, 20%, 38%) | |
hsl(86, 40%, 38%) | |
hsl(86, 60%, 38%) | |
hsl(86, 80%, 38%) | |
hsl(86, 100%, 38%) |
#6aa320 Color Usage In CSS
body { color: #6aa320; } p { color: rgb(106, 163, 32); } header { border-bottom:1px solid #6aa320; }