#124c89 Color
Color Codes | |
---|---|
Hex Code | #124c89 |
RGB Code | rgb(18, 76, 137) |
HSL Code | hsl(211, 77%, 30%) |
#124c89 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 76, 137); }
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(211, 77%, 30%); }
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 #124c89
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 76, 137, 10%) | #124c891a | |
rgb(18, 76, 137, 20%) | #124c8933 | |
rgb(18, 76, 137, 40%) | #124c894C | |
rgb(18, 76, 137, 60%) | #124c8999 | |
rgb(18, 76, 137, 80%) | #124c89CC | |
rgb(18, 76, 137, 100%) | #124c89FF |
Saturated and desaturated colors of #124c89
HSL Code | Preview |
---|---|
hsl(211, 10%, 30%) | |
hsl(211, 20%, 30%) | |
hsl(211, 40%, 30%) | |
hsl(211, 60%, 30%) | |
hsl(211, 80%, 30%) | |
hsl(211, 100%, 30%) |
#124c89 Color Usage In CSS
body { color: #124c89; } p { color: rgb(18, 76, 137); } header { border-bottom:1px solid #124c89; }