#4d3343 Color
Color Codes | |
---|---|
Hex Code | #4d3343 |
RGB Code | rgb(77, 51, 67) |
HSL Code | hsl(323, 20%, 25%) |
#4d3343 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(77, 51, 67); }
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(323, 20%, 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 #4d3343
RGB Code | Hex Code | Preview |
---|---|---|
rgb(77, 51, 67, 10%) | #4d33431a | |
rgb(77, 51, 67, 20%) | #4d334333 | |
rgb(77, 51, 67, 40%) | #4d33434C | |
rgb(77, 51, 67, 60%) | #4d334399 | |
rgb(77, 51, 67, 80%) | #4d3343CC | |
rgb(77, 51, 67, 100%) | #4d3343FF |
Saturated and desaturated colors of #4d3343
HSL Code | Preview |
---|---|
hsl(323, 10%, 25%) | |
hsl(323, 20%, 25%) | |
hsl(323, 40%, 25%) | |
hsl(323, 60%, 25%) | |
hsl(323, 80%, 25%) | |
hsl(323, 100%, 25%) |
#4d3343 Color Usage In CSS
body { color: #4d3343; } p { color: rgb(77, 51, 67); } header { border-bottom:1px solid #4d3343; }