#bfaf00 Color
Color Codes | |
---|---|
Hex Code | #bfaf00 |
RGB Code | rgb(191, 175, 00) |
HSL Code | hsl(55, 100%, 37%) |
#bfaf00 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(191, 175, 00); }
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(55, 100%, 37%); }
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 #bfaf00
RGB Code | Hex Code | Preview |
---|---|---|
rgb(191, 175, 00, 10%) | #bfaf001a | |
rgb(191, 175, 00, 20%) | #bfaf0033 | |
rgb(191, 175, 00, 40%) | #bfaf004C | |
rgb(191, 175, 00, 60%) | #bfaf0099 | |
rgb(191, 175, 00, 80%) | #bfaf00CC | |
rgb(191, 175, 00, 100%) | #bfaf00FF |
Saturated and desaturated colors of #bfaf00
HSL Code | Preview |
---|---|
hsl(55, 10%, 37%) | |
hsl(55, 20%, 37%) | |
hsl(55, 40%, 37%) | |
hsl(55, 60%, 37%) | |
hsl(55, 80%, 37%) | |
hsl(55, 100%, 37%) |
#bfaf00 Color Usage In CSS
body { color: #bfaf00; } p { color: rgb(191, 175, 00); } header { border-bottom:1px solid #bfaf00; }