added tolerance argument to color#setalpha and color#replacecolor
updated document
updated document