#b6820a Color
Color Codes | |
---|---|
Hex Code | #b6820a |
RGB Code | rgb(182, 130, 10) |
HSL Code | hsl(42, 90%, 38%) |
#b6820a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(182, 130, 10); }
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(42, 90%, 38%); }
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 #b6820a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(182, 130, 10, 10%) | #b6820a1a | |
rgb(182, 130, 10, 20%) | #b6820a33 | |
rgb(182, 130, 10, 40%) | #b6820a4C | |
rgb(182, 130, 10, 60%) | #b6820a99 | |
rgb(182, 130, 10, 80%) | #b6820aCC | |
rgb(182, 130, 10, 100%) | #b6820aFF |
Saturated and desaturated colors of #b6820a
HSL Code | Preview |
---|---|
hsl(42, 10%, 38%) | |
hsl(42, 20%, 38%) | |
hsl(42, 40%, 38%) | |
hsl(42, 60%, 38%) | |
hsl(42, 80%, 38%) | |
hsl(42, 100%, 38%) |
#b6820a Color Usage In CSS
body { color: #b6820a; } p { color: rgb(182, 130, 10); } header { border-bottom:1px solid #b6820a; }