#295b4c Color
Color Codes | |
---|---|
Hex Code | #295b4c |
RGB Code | rgb(41, 91, 76) |
HSL Code | hsl(162, 38%, 26%) |
#295b4c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(41, 91, 76); }
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(162, 38%, 26%); }
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 #295b4c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(41, 91, 76, 10%) | #295b4c1a | |
rgb(41, 91, 76, 20%) | #295b4c33 | |
rgb(41, 91, 76, 40%) | #295b4c4C | |
rgb(41, 91, 76, 60%) | #295b4c99 | |
rgb(41, 91, 76, 80%) | #295b4cCC | |
rgb(41, 91, 76, 100%) | #295b4cFF |
Saturated and desaturated colors of #295b4c
HSL Code | Preview |
---|---|
hsl(162, 10%, 26%) | |
hsl(162, 20%, 26%) | |
hsl(162, 40%, 26%) | |
hsl(162, 60%, 26%) | |
hsl(162, 80%, 26%) | |
hsl(162, 100%, 26%) |
#295b4c Color Usage In CSS
body { color: #295b4c; } p { color: rgb(41, 91, 76); } header { border-bottom:1px solid #295b4c; }