Changing to correct variable names for r,g,b