#6cb59d Color
Color Codes | |
---|---|
Hex Code | #6cb59d |
RGB Code | rgb(108, 181, 157) |
HSL Code | hsl(160, 33%, 57%) |
#6cb59d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(108, 181, 157); }
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(160, 33%, 57%); }
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 #6cb59d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(108, 181, 157, 10%) | #6cb59d1a | |
rgb(108, 181, 157, 20%) | #6cb59d33 | |
rgb(108, 181, 157, 40%) | #6cb59d4C | |
rgb(108, 181, 157, 60%) | #6cb59d99 | |
rgb(108, 181, 157, 80%) | #6cb59dCC | |
rgb(108, 181, 157, 100%) | #6cb59dFF |
Saturated and desaturated colors of #6cb59d
HSL Code | Preview |
---|---|
hsl(160, 10%, 57%) | |
hsl(160, 20%, 57%) | |
hsl(160, 40%, 57%) | |
hsl(160, 60%, 57%) | |
hsl(160, 80%, 57%) | |
hsl(160, 100%, 57%) |
#6cb59d Color Usage In CSS
body { color: #6cb59d; } p { color: rgb(108, 181, 157); } header { border-bottom:1px solid #6cb59d; }