#f3c50f Color
Color Codes | |
---|---|
Hex Code | #f3c50f |
RGB Code | rgb(243, 197, 15) |
HSL Code | hsl(48, 90%, 51%) |
#f3c50f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(243, 197, 15); }
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, 90%, 51%); }
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 #f3c50f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(243, 197, 15, 10%) | #f3c50f1a | |
rgb(243, 197, 15, 20%) | #f3c50f33 | |
rgb(243, 197, 15, 40%) | #f3c50f4C | |
rgb(243, 197, 15, 60%) | #f3c50f99 | |
rgb(243, 197, 15, 80%) | #f3c50fCC | |
rgb(243, 197, 15, 100%) | #f3c50fFF |
Saturated and desaturated colors of #f3c50f
HSL Code | Preview |
---|---|
hsl(48, 10%, 51%) | |
hsl(48, 20%, 51%) | |
hsl(48, 40%, 51%) | |
hsl(48, 60%, 51%) | |
hsl(48, 80%, 51%) | |
hsl(48, 100%, 51%) |
#f3c50f Color Usage In CSS
body { color: #f3c50f; } p { color: rgb(243, 197, 15); } header { border-bottom:1px solid #f3c50f; }