#51b4af Color
Color Codes | |
---|---|
Hex Code | #51b4af |
RGB Code | rgb(81, 180, 175) |
HSL Code | hsl(177, 40%, 51%) |
#51b4af Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(81, 180, 175); }
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(177, 40%, 51%); }
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 #51b4af
RGB Code | Hex Code | Preview |
---|---|---|
rgb(81, 180, 175, 10%) | #51b4af1a | |
rgb(81, 180, 175, 20%) | #51b4af33 | |
rgb(81, 180, 175, 40%) | #51b4af4C | |
rgb(81, 180, 175, 60%) | #51b4af99 | |
rgb(81, 180, 175, 80%) | #51b4afCC | |
rgb(81, 180, 175, 100%) | #51b4afFF |
Saturated and desaturated colors of #51b4af
HSL Code | Preview |
---|---|
hsl(177, 10%, 51%) | |
hsl(177, 20%, 51%) | |
hsl(177, 40%, 51%) | |
hsl(177, 60%, 51%) | |
hsl(177, 80%, 51%) | |
hsl(177, 100%, 51%) |
#51b4af Color Usage In CSS
body { color: #51b4af; } p { color: rgb(81, 180, 175); } header { border-bottom:1px solid #51b4af; }