Extraneous code and change way to get color white into int rgb form