#308f84 Color
Color Codes | |
---|---|
Hex Code | #308f84 |
RGB Code | rgb(48, 143, 132) |
HSL Code | hsl(173, 50%, 37%) |
#308f84 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(48, 143, 132); }
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(173, 50%, 37%); }
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 #308f84
RGB Code | Hex Code | Preview |
---|---|---|
rgb(48, 143, 132, 10%) | #308f841a | |
rgb(48, 143, 132, 20%) | #308f8433 | |
rgb(48, 143, 132, 40%) | #308f844C | |
rgb(48, 143, 132, 60%) | #308f8499 | |
rgb(48, 143, 132, 80%) | #308f84CC | |
rgb(48, 143, 132, 100%) | #308f84FF |
Saturated and desaturated colors of #308f84
HSL Code | Preview |
---|---|
hsl(173, 10%, 37%) | |
hsl(173, 20%, 37%) | |
hsl(173, 40%, 37%) | |
hsl(173, 60%, 37%) | |
hsl(173, 80%, 37%) | |
hsl(173, 100%, 37%) |
#308f84 Color Usage In CSS
body { color: #308f84; } p { color: rgb(48, 143, 132); } header { border-bottom:1px solid #308f84; }