#378d11 Color
Color Codes | |
---|---|
Hex Code | #378d11 |
RGB Code | rgb(55, 141, 17) |
HSL Code | hsl(102, 78%, 31%) |
#378d11 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(55, 141, 17); }
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(102, 78%, 31%); }
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 #378d11
RGB Code | Hex Code | Preview |
---|---|---|
rgb(55, 141, 17, 10%) | #378d111a | |
rgb(55, 141, 17, 20%) | #378d1133 | |
rgb(55, 141, 17, 40%) | #378d114C | |
rgb(55, 141, 17, 60%) | #378d1199 | |
rgb(55, 141, 17, 80%) | #378d11CC | |
rgb(55, 141, 17, 100%) | #378d11FF |
Saturated and desaturated colors of #378d11
HSL Code | Preview |
---|---|
hsl(102, 10%, 31%) | |
hsl(102, 20%, 31%) | |
hsl(102, 40%, 31%) | |
hsl(102, 60%, 31%) | |
hsl(102, 80%, 31%) | |
hsl(102, 100%, 31%) |
#378d11 Color Usage In CSS
body { color: #378d11; } p { color: rgb(55, 141, 17); } header { border-bottom:1px solid #378d11; }