add color parameter to the knight rider effect