Enhanced createPalette to accept array of filter colors
Two additions: getDominantEdgeColor and getCornerColors