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