Untitled

 avatar
unknown
plain_text
6 months ago
261 B
2
Indexable
from PIL import Image

# Load the image
image_path = '/mnt/data/Screenshot (314).png'
image = Image.open(image_path)

# Get the color of the first pixel, assuming the entire image is a solid color
dominant_color = image.getpixel((0, 0))
dominant_color
Editor is loading...
Leave a Comment