Node service for return a color palette from an image