support foreground color and overlay sizing detect