#d28b1b Color
Color Codes | |
---|---|
Hex Code | #d28b1b |
RGB Code | rgb(210, 139, 27) |
HSL Code | hsl(37, 77%, 46%) |
#d28b1b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 139, 27); }
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(37, 77%, 46%); }
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 #d28b1b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 139, 27, 10%) | #d28b1b1a | |
rgb(210, 139, 27, 20%) | #d28b1b33 | |
rgb(210, 139, 27, 40%) | #d28b1b4C | |
rgb(210, 139, 27, 60%) | #d28b1b99 | |
rgb(210, 139, 27, 80%) | #d28b1bCC | |
rgb(210, 139, 27, 100%) | #d28b1bFF |
Saturated and desaturated colors of #d28b1b
HSL Code | Preview |
---|---|
hsl(37, 10%, 46%) | |
hsl(37, 20%, 46%) | |
hsl(37, 40%, 46%) | |
hsl(37, 60%, 46%) | |
hsl(37, 80%, 46%) | |
hsl(37, 100%, 46%) |
#d28b1b Color Usage In CSS
body { color: #d28b1b; } p { color: rgb(210, 139, 27); } header { border-bottom:1px solid #d28b1b; }