#305c35 Color
Color Codes | |
---|---|
Hex Code | #305c35 |
RGB Code | rgb(48, 92, 53) |
HSL Code | hsl(127, 31%, 27%) |
#305c35 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(48, 92, 53); }
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(127, 31%, 27%); }
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 #305c35
RGB Code | Hex Code | Preview |
---|---|---|
rgb(48, 92, 53, 10%) | #305c351a | |
rgb(48, 92, 53, 20%) | #305c3533 | |
rgb(48, 92, 53, 40%) | #305c354C | |
rgb(48, 92, 53, 60%) | #305c3599 | |
rgb(48, 92, 53, 80%) | #305c35CC | |
rgb(48, 92, 53, 100%) | #305c35FF |
Saturated and desaturated colors of #305c35
HSL Code | Preview |
---|---|
hsl(127, 10%, 27%) | |
hsl(127, 20%, 27%) | |
hsl(127, 40%, 27%) | |
hsl(127, 60%, 27%) | |
hsl(127, 80%, 27%) | |
hsl(127, 100%, 27%) |
#305c35 Color Usage In CSS
body { color: #305c35; } p { color: rgb(48, 92, 53); } header { border-bottom:1px solid #305c35; }