Use this module to read, and write to a number of colour palette file formats
pip install colourswatch