added get-color() function