#305249 Color
Color Codes | |
---|---|
Hex Code | #305249 |
RGB Code | rgb(48, 82, 73) |
HSL Code | hsl(164, 26%, 25%) |
#305249 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(48, 82, 73); }
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(164, 26%, 25%); }
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 #305249
RGB Code | Hex Code | Preview |
---|---|---|
rgb(48, 82, 73, 10%) | #3052491a | |
rgb(48, 82, 73, 20%) | #30524933 | |
rgb(48, 82, 73, 40%) | #3052494C | |
rgb(48, 82, 73, 60%) | #30524999 | |
rgb(48, 82, 73, 80%) | #305249CC | |
rgb(48, 82, 73, 100%) | #305249FF |
Saturated and desaturated colors of #305249
HSL Code | Preview |
---|---|
hsl(164, 10%, 25%) | |
hsl(164, 20%, 25%) | |
hsl(164, 40%, 25%) | |
hsl(164, 60%, 25%) | |
hsl(164, 80%, 25%) | |
hsl(164, 100%, 25%) |
#305249 Color Usage In CSS
body { color: #305249; } p { color: rgb(48, 82, 73); } header { border-bottom:1px solid #305249; }