#54899a Color
Color Codes | |
---|---|
Hex Code | #54899a |
RGB Code | rgb(84, 137, 154) |
HSL Code | hsl(195, 29%, 47%) |
#54899a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 137, 154); }
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(195, 29%, 47%); }
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 #54899a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 137, 154, 10%) | #54899a1a | |
rgb(84, 137, 154, 20%) | #54899a33 | |
rgb(84, 137, 154, 40%) | #54899a4C | |
rgb(84, 137, 154, 60%) | #54899a99 | |
rgb(84, 137, 154, 80%) | #54899aCC | |
rgb(84, 137, 154, 100%) | #54899aFF |
Saturated and desaturated colors of #54899a
HSL Code | Preview |
---|---|
hsl(195, 10%, 47%) | |
hsl(195, 20%, 47%) | |
hsl(195, 40%, 47%) | |
hsl(195, 60%, 47%) | |
hsl(195, 80%, 47%) | |
hsl(195, 100%, 47%) |
#54899a Color Usage In CSS
body { color: #54899a; } p { color: rgb(84, 137, 154); } header { border-bottom:1px solid #54899a; }