#21665a Color
Color Codes | |
---|---|
Hex Code | #21665a |
RGB Code | rgb(33, 102, 90) |
HSL Code | hsl(170, 51%, 26%) |
#21665a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(33, 102, 90); }
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, 51%, 26%); }
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 #21665a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(33, 102, 90, 10%) | #21665a1a | |
rgb(33, 102, 90, 20%) | #21665a33 | |
rgb(33, 102, 90, 40%) | #21665a4C | |
rgb(33, 102, 90, 60%) | #21665a99 | |
rgb(33, 102, 90, 80%) | #21665aCC | |
rgb(33, 102, 90, 100%) | #21665aFF |
Saturated and desaturated colors of #21665a
HSL Code | Preview |
---|---|
hsl(170, 10%, 26%) | |
hsl(170, 20%, 26%) | |
hsl(170, 40%, 26%) | |
hsl(170, 60%, 26%) | |
hsl(170, 80%, 26%) | |
hsl(170, 100%, 26%) |
#21665a Color Usage In CSS
body { color: #21665a; } p { color: rgb(33, 102, 90); } header { border-bottom:1px solid #21665a; }