#5f3023 Color
Color Codes | |
---|---|
Hex Code | #5f3023 |
RGB Code | rgb(95, 48, 35) |
HSL Code | hsl(13, 46%, 25%) |
#5f3023 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(95, 48, 35); }
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(13, 46%, 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 #5f3023
RGB Code | Hex Code | Preview |
---|---|---|
rgb(95, 48, 35, 10%) | #5f30231a | |
rgb(95, 48, 35, 20%) | #5f302333 | |
rgb(95, 48, 35, 40%) | #5f30234C | |
rgb(95, 48, 35, 60%) | #5f302399 | |
rgb(95, 48, 35, 80%) | #5f3023CC | |
rgb(95, 48, 35, 100%) | #5f3023FF |
Saturated and desaturated colors of #5f3023
HSL Code | Preview |
---|---|
hsl(13, 10%, 25%) | |
hsl(13, 20%, 25%) | |
hsl(13, 40%, 25%) | |
hsl(13, 60%, 25%) | |
hsl(13, 80%, 25%) | |
hsl(13, 100%, 25%) |
#5f3023 Color Usage In CSS
body { color: #5f3023; } p { color: rgb(95, 48, 35); } header { border-bottom:1px solid #5f3023; }