#f9bc23 Color
Color Codes | |
---|---|
Hex Code | #f9bc23 |
RGB Code | rgb(249, 188, 35) |
HSL Code | hsl(43, 95%, 56%) |
#f9bc23 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 188, 35); }
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(43, 95%, 56%); }
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 #f9bc23
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 188, 35, 10%) | #f9bc231a | |
rgb(249, 188, 35, 20%) | #f9bc2333 | |
rgb(249, 188, 35, 40%) | #f9bc234C | |
rgb(249, 188, 35, 60%) | #f9bc2399 | |
rgb(249, 188, 35, 80%) | #f9bc23CC | |
rgb(249, 188, 35, 100%) | #f9bc23FF |
Saturated and desaturated colors of #f9bc23
HSL Code | Preview |
---|---|
hsl(43, 10%, 56%) | |
hsl(43, 20%, 56%) | |
hsl(43, 40%, 56%) | |
hsl(43, 60%, 56%) | |
hsl(43, 80%, 56%) | |
hsl(43, 100%, 56%) |
#f9bc23 Color Usage In CSS
body { color: #f9bc23; } p { color: rgb(249, 188, 35); } header { border-bottom:1px solid #f9bc23; }