color function demo created