A function to extract any colors from a string