#f6f0e7 Color
Color Codes | |
---|---|
Hex Code | #f6f0e7 |
RGB Code | rgb(246, 240, 231) |
HSL Code | hsl(36, 45%, 94%) |
#f6f0e7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 240, 231); }
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(36, 45%, 94%); }
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 #f6f0e7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 240, 231, 10%) | #f6f0e71a | |
rgb(246, 240, 231, 20%) | #f6f0e733 | |
rgb(246, 240, 231, 40%) | #f6f0e74C | |
rgb(246, 240, 231, 60%) | #f6f0e799 | |
rgb(246, 240, 231, 80%) | #f6f0e7CC | |
rgb(246, 240, 231, 100%) | #f6f0e7FF |
Saturated and desaturated colors of #f6f0e7
HSL Code | Preview |
---|---|
hsl(36, 10%, 94%) | |
hsl(36, 20%, 94%) | |
hsl(36, 40%, 94%) | |
hsl(36, 60%, 94%) | |
hsl(36, 80%, 94%) | |
hsl(36, 100%, 94%) |
#f6f0e7 Color Usage In CSS
body { color: #f6f0e7; } p { color: rgb(246, 240, 231); } header { border-bottom:1px solid #f6f0e7; }