#79b4cc Color
Color Codes | |
---|---|
Hex Code | #79b4cc |
RGB Code | rgb(121, 180, 204) |
HSL Code | hsl(197, 45%, 64%) |
#79b4cc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 180, 204); }
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(197, 45%, 64%); }
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 #79b4cc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 180, 204, 10%) | #79b4cc1a | |
rgb(121, 180, 204, 20%) | #79b4cc33 | |
rgb(121, 180, 204, 40%) | #79b4cc4C | |
rgb(121, 180, 204, 60%) | #79b4cc99 | |
rgb(121, 180, 204, 80%) | #79b4ccCC | |
rgb(121, 180, 204, 100%) | #79b4ccFF |
Saturated and desaturated colors of #79b4cc
HSL Code | Preview |
---|---|
hsl(197, 10%, 64%) | |
hsl(197, 20%, 64%) | |
hsl(197, 40%, 64%) | |
hsl(197, 60%, 64%) | |
hsl(197, 80%, 64%) | |
hsl(197, 100%, 64%) |
#79b4cc Color Usage In CSS
body { color: #79b4cc; } p { color: rgb(121, 180, 204); } header { border-bottom:1px solid #79b4cc; }