#665217 Color
Color Codes | |
---|---|
Hex Code | #665217 |
RGB Code | rgb(102, 82, 23) |
HSL Code | hsl(45, 63%, 25%) |
#665217 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(102, 82, 23); }
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(45, 63%, 25%); }
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 #665217
RGB Code | Hex Code | Preview |
---|---|---|
rgb(102, 82, 23, 10%) | #6652171a | |
rgb(102, 82, 23, 20%) | #66521733 | |
rgb(102, 82, 23, 40%) | #6652174C | |
rgb(102, 82, 23, 60%) | #66521799 | |
rgb(102, 82, 23, 80%) | #665217CC | |
rgb(102, 82, 23, 100%) | #665217FF |
Saturated and desaturated colors of #665217
HSL Code | Preview |
---|---|
hsl(45, 10%, 25%) | |
hsl(45, 20%, 25%) | |
hsl(45, 40%, 25%) | |
hsl(45, 60%, 25%) | |
hsl(45, 80%, 25%) | |
hsl(45, 100%, 25%) |
#665217 Color Usage In CSS
body { color: #665217; } p { color: rgb(102, 82, 23); } header { border-bottom:1px solid #665217; }