When the image file is read with the OpenCV function imread(), the order of colors is BGR (blue, green, red). ref: Convert BGR and RGB with Python, OpenCV (cvtColor)