#126659 Color
Color Codes | |
---|---|
Hex Code | #126659 |
RGB Code | rgb(18, 102, 89) |
HSL Code | hsl(171, 70%, 24%) |
#126659 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 102, 89); }
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(171, 70%, 24%); }
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 #126659
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 102, 89, 10%) | #1266591a | |
rgb(18, 102, 89, 20%) | #12665933 | |
rgb(18, 102, 89, 40%) | #1266594C | |
rgb(18, 102, 89, 60%) | #12665999 | |
rgb(18, 102, 89, 80%) | #126659CC | |
rgb(18, 102, 89, 100%) | #126659FF |
Saturated and desaturated colors of #126659
HSL Code | Preview |
---|---|
hsl(171, 10%, 24%) | |
hsl(171, 20%, 24%) | |
hsl(171, 40%, 24%) | |
hsl(171, 60%, 24%) | |
hsl(171, 80%, 24%) | |
hsl(171, 100%, 24%) |
#126659 Color Usage In CSS
body { color: #126659; } p { color: rgb(18, 102, 89); } header { border-bottom:1px solid #126659; }