The RGB color model is an additive color model in which red, green, and blue light are added together…