#f6df70 Color
Color Codes | |
---|---|
Hex Code | #f6df70 |
RGB Code | rgb(246, 223, 112) |
HSL Code | hsl(50, 88%, 70%) |
#f6df70 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 223, 112); }
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, 88%, 70%); }
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 #f6df70
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 223, 112, 10%) | #f6df701a | |
rgb(246, 223, 112, 20%) | #f6df7033 | |
rgb(246, 223, 112, 40%) | #f6df704C | |
rgb(246, 223, 112, 60%) | #f6df7099 | |
rgb(246, 223, 112, 80%) | #f6df70CC | |
rgb(246, 223, 112, 100%) | #f6df70FF |
Saturated and desaturated colors of #f6df70
HSL Code | Preview |
---|---|
hsl(50, 10%, 70%) | |
hsl(50, 20%, 70%) | |
hsl(50, 40%, 70%) | |
hsl(50, 60%, 70%) | |
hsl(50, 80%, 70%) | |
hsl(50, 100%, 70%) |
#f6df70 Color Usage In CSS
body { color: #f6df70; } p { color: rgb(246, 223, 112); } header { border-bottom:1px solid #f6df70; }