#fac01b Color
Color Codes | |
---|---|
Hex Code | #fac01b |
RGB Code | rgb(250, 192, 27) |
HSL Code | hsl(44, 96%, 54%) |
#fac01b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(250, 192, 27); }
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(44, 96%, 54%); }
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 #fac01b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(250, 192, 27, 10%) | #fac01b1a | |
rgb(250, 192, 27, 20%) | #fac01b33 | |
rgb(250, 192, 27, 40%) | #fac01b4C | |
rgb(250, 192, 27, 60%) | #fac01b99 | |
rgb(250, 192, 27, 80%) | #fac01bCC | |
rgb(250, 192, 27, 100%) | #fac01bFF |
Saturated and desaturated colors of #fac01b
HSL Code | Preview |
---|---|
hsl(44, 10%, 54%) | |
hsl(44, 20%, 54%) | |
hsl(44, 40%, 54%) | |
hsl(44, 60%, 54%) | |
hsl(44, 80%, 54%) | |
hsl(44, 100%, 54%) |
#fac01b Color Usage In CSS
body { color: #fac01b; } p { color: rgb(250, 192, 27); } header { border-bottom:1px solid #fac01b; }