#879ad4 Color
Color Codes | |
---|---|
Hex Code | #879ad4 |
RGB Code | rgb(135, 154, 212) |
HSL Code | hsl(225, 47%, 68%) |
#879ad4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(135, 154, 212); }
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(225, 47%, 68%); }
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 #879ad4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(135, 154, 212, 10%) | #879ad41a | |
rgb(135, 154, 212, 20%) | #879ad433 | |
rgb(135, 154, 212, 40%) | #879ad44C | |
rgb(135, 154, 212, 60%) | #879ad499 | |
rgb(135, 154, 212, 80%) | #879ad4CC | |
rgb(135, 154, 212, 100%) | #879ad4FF |
Saturated and desaturated colors of #879ad4
HSL Code | Preview |
---|---|
hsl(225, 10%, 68%) | |
hsl(225, 20%, 68%) | |
hsl(225, 40%, 68%) | |
hsl(225, 60%, 68%) | |
hsl(225, 80%, 68%) | |
hsl(225, 100%, 68%) |
#879ad4 Color Usage In CSS
body { color: #879ad4; } p { color: rgb(135, 154, 212); } header { border-bottom:1px solid #879ad4; }