from tkinter import messagebox
import cv2

image = cv2.imread("sample.jpg")
color = int(image[300, 300])

messagebox.showinfo("Cor em BGR",  color)