#003c18 Color
Color Codes | |
---|---|
Hex Code | #003c18 |
RGB Code | rgb(00, 60, 24) |
HSL Code | hsl(144, 100%, 12%) |
#003c18 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(00, 60, 24); }
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(144, 100%, 12%); }
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 #003c18
RGB Code | Hex Code | Preview |
---|---|---|
rgb(00, 60, 24, 10%) | #003c181a | |
rgb(00, 60, 24, 20%) | #003c1833 | |
rgb(00, 60, 24, 40%) | #003c184C | |
rgb(00, 60, 24, 60%) | #003c1899 | |
rgb(00, 60, 24, 80%) | #003c18CC | |
rgb(00, 60, 24, 100%) | #003c18FF |
Saturated and desaturated colors of #003c18
HSL Code | Preview |
---|---|
hsl(144, 10%, 12%) | |
hsl(144, 20%, 12%) | |
hsl(144, 40%, 12%) | |
hsl(144, 60%, 12%) | |
hsl(144, 80%, 12%) | |
hsl(144, 100%, 12%) |
#003c18 Color Usage In CSS
body { color: #003c18; } p { color: rgb(00, 60, 24); } header { border-bottom:1px solid #003c18; }