#bf9902 Color
Color Codes | |
---|---|
Hex Code | #bf9902 |
RGB Code | rgb(191, 153, 02) |
HSL Code | hsl(48, 98%, 38%) |
#bf9902 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(191, 153, 02); }
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(48, 98%, 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 #bf9902
RGB Code | Hex Code | Preview |
---|---|---|
rgb(191, 153, 02, 10%) | #bf99021a | |
rgb(191, 153, 02, 20%) | #bf990233 | |
rgb(191, 153, 02, 40%) | #bf99024C | |
rgb(191, 153, 02, 60%) | #bf990299 | |
rgb(191, 153, 02, 80%) | #bf9902CC | |
rgb(191, 153, 02, 100%) | #bf9902FF |
Saturated and desaturated colors of #bf9902
HSL Code | Preview |
---|---|
hsl(48, 10%, 38%) | |
hsl(48, 20%, 38%) | |
hsl(48, 40%, 38%) | |
hsl(48, 60%, 38%) | |
hsl(48, 80%, 38%) | |
hsl(48, 100%, 38%) |
#bf9902 Color Usage In CSS
body { color: #bf9902; } p { color: rgb(191, 153, 02); } header { border-bottom:1px solid #bf9902; }