pass color to the program