#f7ca3a Color
Color Codes | |
---|---|
Hex Code | #f7ca3a |
RGB Code | rgb(247, 202, 58) |
HSL Code | hsl(46, 92%, 60%) |
#f7ca3a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(247, 202, 58); }
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(46, 92%, 60%); }
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 #f7ca3a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(247, 202, 58, 10%) | #f7ca3a1a | |
rgb(247, 202, 58, 20%) | #f7ca3a33 | |
rgb(247, 202, 58, 40%) | #f7ca3a4C | |
rgb(247, 202, 58, 60%) | #f7ca3a99 | |
rgb(247, 202, 58, 80%) | #f7ca3aCC | |
rgb(247, 202, 58, 100%) | #f7ca3aFF |
Saturated and desaturated colors of #f7ca3a
HSL Code | Preview |
---|---|
hsl(46, 10%, 60%) | |
hsl(46, 20%, 60%) | |
hsl(46, 40%, 60%) | |
hsl(46, 60%, 60%) | |
hsl(46, 80%, 60%) | |
hsl(46, 100%, 60%) |
#f7ca3a Color Usage In CSS
body { color: #f7ca3a; } p { color: rgb(247, 202, 58); } header { border-bottom:1px solid #f7ca3a; }