red, blue and green converted to actuall numbers to be summed together