#d48b0d Color
Color Codes | |
---|---|
Hex Code | #d48b0d |
RGB Code | rgb(212, 139, 13) |
HSL Code | hsl(38, 88%, 44%) |
#d48b0d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 139, 13); }
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(38, 88%, 44%); }
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 #d48b0d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 139, 13, 10%) | #d48b0d1a | |
rgb(212, 139, 13, 20%) | #d48b0d33 | |
rgb(212, 139, 13, 40%) | #d48b0d4C | |
rgb(212, 139, 13, 60%) | #d48b0d99 | |
rgb(212, 139, 13, 80%) | #d48b0dCC | |
rgb(212, 139, 13, 100%) | #d48b0dFF |
Saturated and desaturated colors of #d48b0d
HSL Code | Preview |
---|---|
hsl(38, 10%, 44%) | |
hsl(38, 20%, 44%) | |
hsl(38, 40%, 44%) | |
hsl(38, 60%, 44%) | |
hsl(38, 80%, 44%) | |
hsl(38, 100%, 44%) |
#d48b0d Color Usage In CSS
body { color: #d48b0d; } p { color: rgb(212, 139, 13); } header { border-bottom:1px solid #d48b0d; }