#b3b228 Color
Color Codes | |
---|---|
Hex Code | #b3b228 |
RGB Code | rgb(179, 178, 40) |
HSL Code | hsl(60, 63%, 43%) |
#b3b228 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(179, 178, 40); }
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(60, 63%, 43%); }
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 #b3b228
RGB Code | Hex Code | Preview |
---|---|---|
rgb(179, 178, 40, 10%) | #b3b2281a | |
rgb(179, 178, 40, 20%) | #b3b22833 | |
rgb(179, 178, 40, 40%) | #b3b2284C | |
rgb(179, 178, 40, 60%) | #b3b22899 | |
rgb(179, 178, 40, 80%) | #b3b228CC | |
rgb(179, 178, 40, 100%) | #b3b228FF |
Saturated and desaturated colors of #b3b228
HSL Code | Preview |
---|---|
hsl(60, 10%, 43%) | |
hsl(60, 20%, 43%) | |
hsl(60, 40%, 43%) | |
hsl(60, 60%, 43%) | |
hsl(60, 80%, 43%) | |
hsl(60, 100%, 43%) |
#b3b228 Color Usage In CSS
body { color: #b3b228; } p { color: rgb(179, 178, 40); } header { border-bottom:1px solid #b3b228; }