API:
get_hex()
Convert rgb colour code to hex code.
pal (str) – Accepts palette accepted by matplotlib.pyplot.get_cmap.
n (Optional[int], optional) – Number of colours to return.
List of hex colours.
List