#51a9c5 Color
Color Codes | |
---|---|
Hex Code | #51a9c5 |
RGB Code | rgb(81, 169, 197) |
HSL Code | hsl(194, 50%, 55%) |
#51a9c5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(81, 169, 197); }
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(194, 50%, 55%); }
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 #51a9c5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(81, 169, 197, 10%) | #51a9c51a | |
rgb(81, 169, 197, 20%) | #51a9c533 | |
rgb(81, 169, 197, 40%) | #51a9c54C | |
rgb(81, 169, 197, 60%) | #51a9c599 | |
rgb(81, 169, 197, 80%) | #51a9c5CC | |
rgb(81, 169, 197, 100%) | #51a9c5FF |
Saturated and desaturated colors of #51a9c5
HSL Code | Preview |
---|---|
hsl(194, 10%, 55%) | |
hsl(194, 20%, 55%) | |
hsl(194, 40%, 55%) | |
hsl(194, 60%, 55%) | |
hsl(194, 80%, 55%) | |
hsl(194, 100%, 55%) |
#51a9c5 Color Usage In CSS
body { color: #51a9c5; } p { color: rgb(81, 169, 197); } header { border-bottom:1px solid #51a9c5; }