#2cb6c3 Color
Color Codes | |
---|---|
Hex Code | #2cb6c3 |
RGB Code | rgb(44, 182, 195) |
HSL Code | hsl(185, 63%, 47%) |
#2cb6c3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(44, 182, 195); }
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(185, 63%, 47%); }
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 #2cb6c3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(44, 182, 195, 10%) | #2cb6c31a | |
rgb(44, 182, 195, 20%) | #2cb6c333 | |
rgb(44, 182, 195, 40%) | #2cb6c34C | |
rgb(44, 182, 195, 60%) | #2cb6c399 | |
rgb(44, 182, 195, 80%) | #2cb6c3CC | |
rgb(44, 182, 195, 100%) | #2cb6c3FF |
Saturated and desaturated colors of #2cb6c3
HSL Code | Preview |
---|---|
hsl(185, 10%, 47%) | |
hsl(185, 20%, 47%) | |
hsl(185, 40%, 47%) | |
hsl(185, 60%, 47%) | |
hsl(185, 80%, 47%) | |
hsl(185, 100%, 47%) |
#2cb6c3 Color Usage In CSS
body { color: #2cb6c3; } p { color: rgb(44, 182, 195); } header { border-bottom:1px solid #2cb6c3; }