Drop in an image. Color Extractor reads the dominant colors straight off the pixels. Choose how many you want, lock the ones you like, and use the eyedropper to grab anything the Color Extractor missed.
Or paste one with ⌘V. JPG, PNG, WebP and GIF all work.
Nothing leaves your browser — the image is read locally.