added rounding to values before placing them in the rgb value for word style.