#b8af3d Color
Color Codes | |
---|---|
Hex Code | #b8af3d |
RGB Code | rgb(184, 175, 61) |
HSL Code | hsl(56, 50%, 48%) |
#b8af3d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(184, 175, 61); }
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(56, 50%, 48%); }
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 #b8af3d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(184, 175, 61, 10%) | #b8af3d1a | |
rgb(184, 175, 61, 20%) | #b8af3d33 | |
rgb(184, 175, 61, 40%) | #b8af3d4C | |
rgb(184, 175, 61, 60%) | #b8af3d99 | |
rgb(184, 175, 61, 80%) | #b8af3dCC | |
rgb(184, 175, 61, 100%) | #b8af3dFF |
Saturated and desaturated colors of #b8af3d
HSL Code | Preview |
---|---|
hsl(56, 10%, 48%) | |
hsl(56, 20%, 48%) | |
hsl(56, 40%, 48%) | |
hsl(56, 60%, 48%) | |
hsl(56, 80%, 48%) | |
hsl(56, 100%, 48%) |
#b8af3d Color Usage In CSS
body { color: #b8af3d; } p { color: rgb(184, 175, 61); } header { border-bottom:1px solid #b8af3d; }