#126d81 Color
Color Codes | |
---|---|
Hex Code | #126d81 |
RGB Code | rgb(18, 109, 129) |
HSL Code | hsl(191, 76%, 29%) |
#126d81 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 109, 129); }
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(191, 76%, 29%); }
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 #126d81
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 109, 129, 10%) | #126d811a | |
rgb(18, 109, 129, 20%) | #126d8133 | |
rgb(18, 109, 129, 40%) | #126d814C | |
rgb(18, 109, 129, 60%) | #126d8199 | |
rgb(18, 109, 129, 80%) | #126d81CC | |
rgb(18, 109, 129, 100%) | #126d81FF |
Saturated and desaturated colors of #126d81
HSL Code | Preview |
---|---|
hsl(191, 10%, 29%) | |
hsl(191, 20%, 29%) | |
hsl(191, 40%, 29%) | |
hsl(191, 60%, 29%) | |
hsl(191, 80%, 29%) | |
hsl(191, 100%, 29%) |
#126d81 Color Usage In CSS
body { color: #126d81; } p { color: rgb(18, 109, 129); } header { border-bottom:1px solid #126d81; }