#36a4cd Color
Color Codes | |
---|---|
Hex Code | #36a4cd |
RGB Code | rgb(54, 164, 205) |
HSL Code | hsl(196, 60%, 51%) |
#36a4cd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(54, 164, 205); }
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(196, 60%, 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 #36a4cd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(54, 164, 205, 10%) | #36a4cd1a | |
rgb(54, 164, 205, 20%) | #36a4cd33 | |
rgb(54, 164, 205, 40%) | #36a4cd4C | |
rgb(54, 164, 205, 60%) | #36a4cd99 | |
rgb(54, 164, 205, 80%) | #36a4cdCC | |
rgb(54, 164, 205, 100%) | #36a4cdFF |
Saturated and desaturated colors of #36a4cd
HSL Code | Preview |
---|---|
hsl(196, 10%, 51%) | |
hsl(196, 20%, 51%) | |
hsl(196, 40%, 51%) | |
hsl(196, 60%, 51%) | |
hsl(196, 80%, 51%) | |
hsl(196, 100%, 51%) |
#36a4cd Color Usage In CSS
body { color: #36a4cd; } p { color: rgb(54, 164, 205); } header { border-bottom:1px solid #36a4cd; }