Here I used chatGPT to generate Python code to match the closest hex colour value in a list to the inputted one. This is for my painting hobby but has implications for writing code for solving biological problems.