This task can be performed using Colorize.design
Generate color palettes from any website
Best product for this task

Colorize.design
productivity
Colorize.design extracts color palettes from a URL. Simply input a link, and the tool generates color schemes based on the website’s visual layout, pulling dominant colors from the favicon, homepage screenshots, and even analyzing the HTML, CSS, and JS files.

What to expect from an ideal product
- Paste any website URL and get its complete color scheme in seconds
- Grabs colors from website logos, favicons, and main page images
- Checks the site's code to find hidden color values in CSS files
- Shows you the exact color codes used throughout the website
- Creates ready-to-use color palettes based on the site's design