Shows two AI prompts and a JavaScript file to generate accessible colour schemes in real time on a live website. It covers extracting CSS colours into custom properties and producing WCAG-aware colour schemes to switch between.
What you’ll learn
✓Extract colour values from CSS into custom properties
✓Generate accessible colour schemes with AI prompts
✓Switch colour schemes in real time with JavaScript