Every image has three channels: R, G, B, that is, Red, Green and Blue which is used to define the pixel value at any point in the image, where the value of red, green or blue lies between 0-255.
For example: a pixel value of [255, 0, 0] would be all RED, and [255, 255, 0] would be a mix of RED and GREEN, which gives a YELLOW color.
But, if the image is read using OpenCV, it yields the image in BGR format, that is, [255, 0, 0] would be BLUE and so on.
OpenCV is an open-source library for image manipulation in Python or C language.
For Python OpenCV can be downloaded using pip install opencv-python.