added example showing method function for color