#fad622 Color
Color Codes | |
---|---|
Hex Code | #fad622 |
RGB Code | rgb(250, 214, 34) |
HSL Code | hsl(50, 96%, 56%) |
#fad622 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(250, 214, 34); }
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(50, 96%, 56%); }
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 #fad622
RGB Code | Hex Code | Preview |
---|---|---|
rgb(250, 214, 34, 10%) | #fad6221a | |
rgb(250, 214, 34, 20%) | #fad62233 | |
rgb(250, 214, 34, 40%) | #fad6224C | |
rgb(250, 214, 34, 60%) | #fad62299 | |
rgb(250, 214, 34, 80%) | #fad622CC | |
rgb(250, 214, 34, 100%) | #fad622FF |
Saturated and desaturated colors of #fad622
HSL Code | Preview |
---|---|
hsl(50, 10%, 56%) | |
hsl(50, 20%, 56%) | |
hsl(50, 40%, 56%) | |
hsl(50, 60%, 56%) | |
hsl(50, 80%, 56%) | |
hsl(50, 100%, 56%) |
#fad622 Color Usage In CSS
body { color: #fad622; } p { color: rgb(250, 214, 34); } header { border-bottom:1px solid #fad622; }