#286726 Color
Color Codes | |
---|---|
Hex Code | #286726 |
RGB Code | rgb(40, 103, 38) |
HSL Code | hsl(118, 46%, 28%) |
#286726 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(40, 103, 38); }
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(118, 46%, 28%); }
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 #286726
RGB Code | Hex Code | Preview |
---|---|---|
rgb(40, 103, 38, 10%) | #2867261a | |
rgb(40, 103, 38, 20%) | #28672633 | |
rgb(40, 103, 38, 40%) | #2867264C | |
rgb(40, 103, 38, 60%) | #28672699 | |
rgb(40, 103, 38, 80%) | #286726CC | |
rgb(40, 103, 38, 100%) | #286726FF |
Saturated and desaturated colors of #286726
HSL Code | Preview |
---|---|
hsl(118, 10%, 28%) | |
hsl(118, 20%, 28%) | |
hsl(118, 40%, 28%) | |
hsl(118, 60%, 28%) | |
hsl(118, 80%, 28%) | |
hsl(118, 100%, 28%) |
#286726 Color Usage In CSS
body { color: #286726; } p { color: rgb(40, 103, 38); } header { border-bottom:1px solid #286726; }