#156682 Color
Color Codes | |
---|---|
Hex Code | #156682 |
RGB Code | rgb(21, 102, 130) |
HSL Code | hsl(195, 72%, 30%) |
#156682 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(21, 102, 130); }
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(195, 72%, 30%); }
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 #156682
RGB Code | Hex Code | Preview |
---|---|---|
rgb(21, 102, 130, 10%) | #1566821a | |
rgb(21, 102, 130, 20%) | #15668233 | |
rgb(21, 102, 130, 40%) | #1566824C | |
rgb(21, 102, 130, 60%) | #15668299 | |
rgb(21, 102, 130, 80%) | #156682CC | |
rgb(21, 102, 130, 100%) | #156682FF |
Saturated and desaturated colors of #156682
HSL Code | Preview |
---|---|
hsl(195, 10%, 30%) | |
hsl(195, 20%, 30%) | |
hsl(195, 40%, 30%) | |
hsl(195, 60%, 30%) | |
hsl(195, 80%, 30%) | |
hsl(195, 100%, 30%) |
#156682 Color Usage In CSS
body { color: #156682; } p { color: rgb(21, 102, 130); } header { border-bottom:1px solid #156682; }