#6a8a6d Color
Color Codes | |
---|---|
Hex Code | #6a8a6d |
RGB Code | rgb(106, 138, 109) |
HSL Code | hsl(126, 13%, 48%) |
#6a8a6d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(106, 138, 109); }
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(126, 13%, 48%); }
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 #6a8a6d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(106, 138, 109, 10%) | #6a8a6d1a | |
rgb(106, 138, 109, 20%) | #6a8a6d33 | |
rgb(106, 138, 109, 40%) | #6a8a6d4C | |
rgb(106, 138, 109, 60%) | #6a8a6d99 | |
rgb(106, 138, 109, 80%) | #6a8a6dCC | |
rgb(106, 138, 109, 100%) | #6a8a6dFF |
Saturated and desaturated colors of #6a8a6d
HSL Code | Preview |
---|---|
hsl(126, 10%, 48%) | |
hsl(126, 20%, 48%) | |
hsl(126, 40%, 48%) | |
hsl(126, 60%, 48%) | |
hsl(126, 80%, 48%) | |
hsl(126, 100%, 48%) |
#6a8a6d Color Usage In CSS
body { color: #6a8a6d; } p { color: rgb(106, 138, 109); } header { border-bottom:1px solid #6a8a6d; }