human
Write me a Python function to get all colors in image.
assistant
Here is a Python function to get all colors in image

import numpy as np

def get_all_colors(image):
    """ Get all colors in image
    """
    return np.unique(image)

# Enter the image
image ="red airplane"

# Calling the function
all_colors = get_all_colors(image)

#Remember to inspect code for bugs.