#0c664b Color
Color Codes | |
---|---|
Hex Code | #0c664b |
RGB Code | rgb(12, 102, 75) |
HSL Code | hsl(162, 79%, 22%) |
#0c664b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(12, 102, 75); }
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(162, 79%, 22%); }
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 #0c664b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(12, 102, 75, 10%) | #0c664b1a | |
rgb(12, 102, 75, 20%) | #0c664b33 | |
rgb(12, 102, 75, 40%) | #0c664b4C | |
rgb(12, 102, 75, 60%) | #0c664b99 | |
rgb(12, 102, 75, 80%) | #0c664bCC | |
rgb(12, 102, 75, 100%) | #0c664bFF |
Saturated and desaturated colors of #0c664b
HSL Code | Preview |
---|---|
hsl(162, 10%, 22%) | |
hsl(162, 20%, 22%) | |
hsl(162, 40%, 22%) | |
hsl(162, 60%, 22%) | |
hsl(162, 80%, 22%) | |
hsl(162, 100%, 22%) |
#0c664b Color Usage In CSS
body { color: #0c664b; } p { color: rgb(12, 102, 75); } header { border-bottom:1px solid #0c664b; }