#7999c2 Color
Color Codes | |
---|---|
Hex Code | #7999c2 |
RGB Code | rgb(121, 153, 194) |
HSL Code | hsl(214, 37%, 62%) |
#7999c2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 153, 194); }
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(214, 37%, 62%); }
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 #7999c2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 153, 194, 10%) | #7999c21a | |
rgb(121, 153, 194, 20%) | #7999c233 | |
rgb(121, 153, 194, 40%) | #7999c24C | |
rgb(121, 153, 194, 60%) | #7999c299 | |
rgb(121, 153, 194, 80%) | #7999c2CC | |
rgb(121, 153, 194, 100%) | #7999c2FF |
Saturated and desaturated colors of #7999c2
HSL Code | Preview |
---|---|
hsl(214, 10%, 62%) | |
hsl(214, 20%, 62%) | |
hsl(214, 40%, 62%) | |
hsl(214, 60%, 62%) | |
hsl(214, 80%, 62%) | |
hsl(214, 100%, 62%) |
#7999c2 Color Usage In CSS
body { color: #7999c2; } p { color: rgb(121, 153, 194); } header { border-bottom:1px solid #7999c2; }