#17a28a Color
Color Codes | |
---|---|
Hex Code | #17a28a |
RGB Code | rgb(23, 162, 138) |
HSL Code | hsl(170, 75%, 36%) |
#17a28a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(23, 162, 138); }
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(170, 75%, 36%); }
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 #17a28a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(23, 162, 138, 10%) | #17a28a1a | |
rgb(23, 162, 138, 20%) | #17a28a33 | |
rgb(23, 162, 138, 40%) | #17a28a4C | |
rgb(23, 162, 138, 60%) | #17a28a99 | |
rgb(23, 162, 138, 80%) | #17a28aCC | |
rgb(23, 162, 138, 100%) | #17a28aFF |
Saturated and desaturated colors of #17a28a
HSL Code | Preview |
---|---|
hsl(170, 10%, 36%) | |
hsl(170, 20%, 36%) | |
hsl(170, 40%, 36%) | |
hsl(170, 60%, 36%) | |
hsl(170, 80%, 36%) | |
hsl(170, 100%, 36%) |
#17a28a Color Usage In CSS
body { color: #17a28a; } p { color: rgb(23, 162, 138); } header { border-bottom:1px solid #17a28a; }