palette_filter function

color filters for any vector of hex color values