Simplified Code for checking Inputs
removed unneccessary code in Set_RGB_Color