#f1c73f Color
Color Codes | |
---|---|
Hex Code | #f1c73f |
RGB Code | rgb(241, 199, 63) |
HSL Code | hsl(46, 86%, 60%) |
#f1c73f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(241, 199, 63); }
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, 86%, 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 #f1c73f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(241, 199, 63, 10%) | #f1c73f1a | |
rgb(241, 199, 63, 20%) | #f1c73f33 | |
rgb(241, 199, 63, 40%) | #f1c73f4C | |
rgb(241, 199, 63, 60%) | #f1c73f99 | |
rgb(241, 199, 63, 80%) | #f1c73fCC | |
rgb(241, 199, 63, 100%) | #f1c73fFF |
Saturated and desaturated colors of #f1c73f
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%) |
#f1c73f Color Usage In CSS
body { color: #f1c73f; } p { color: rgb(241, 199, 63); } header { border-bottom:1px solid #f1c73f; }