#6ccf4a Color
Color Codes | |
---|---|
Hex Code | #6ccf4a |
RGB Code | rgb(108, 207, 74) |
HSL Code | hsl(105, 58%, 55%) |
#6ccf4a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(108, 207, 74); }
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(105, 58%, 55%); }
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 #6ccf4a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(108, 207, 74, 10%) | #6ccf4a1a | |
rgb(108, 207, 74, 20%) | #6ccf4a33 | |
rgb(108, 207, 74, 40%) | #6ccf4a4C | |
rgb(108, 207, 74, 60%) | #6ccf4a99 | |
rgb(108, 207, 74, 80%) | #6ccf4aCC | |
rgb(108, 207, 74, 100%) | #6ccf4aFF |
Saturated and desaturated colors of #6ccf4a
HSL Code | Preview |
---|---|
hsl(105, 10%, 55%) | |
hsl(105, 20%, 55%) | |
hsl(105, 40%, 55%) | |
hsl(105, 60%, 55%) | |
hsl(105, 80%, 55%) | |
hsl(105, 100%, 55%) |
#6ccf4a Color Usage In CSS
body { color: #6ccf4a; } p { color: rgb(108, 207, 74); } header { border-bottom:1px solid #6ccf4a; }