#f3ba2e Color
Color Codes | |
---|---|
Hex Code | #f3ba2e |
RGB Code | rgb(243, 186, 46) |
HSL Code | hsl(43, 89%, 57%) |
#f3ba2e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(243, 186, 46); }
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, 89%, 57%); }
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 #f3ba2e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(243, 186, 46, 10%) | #f3ba2e1a | |
rgb(243, 186, 46, 20%) | #f3ba2e33 | |
rgb(243, 186, 46, 40%) | #f3ba2e4C | |
rgb(243, 186, 46, 60%) | #f3ba2e99 | |
rgb(243, 186, 46, 80%) | #f3ba2eCC | |
rgb(243, 186, 46, 100%) | #f3ba2eFF |
Saturated and desaturated colors of #f3ba2e
HSL Code | Preview |
---|---|
hsl(43, 10%, 57%) | |
hsl(43, 20%, 57%) | |
hsl(43, 40%, 57%) | |
hsl(43, 60%, 57%) | |
hsl(43, 80%, 57%) | |
hsl(43, 100%, 57%) |
#f3ba2e Color Usage In CSS
body { color: #f3ba2e; } p { color: rgb(243, 186, 46); } header { border-bottom:1px solid #f3ba2e; }