I built an agentic workflow that analyzes any uploaded image, extracts key colors, and uses AI to mathematically generate a balanced 7-color design palette. It then automatically maps these colors to UI components (Backgrounds, Headers, Buttons) for both Light & Dark modes, delivering a ready-to-use JSON theme configuration.