exposed color function to interpreter