Use AI & JavaScript to Generate Amazing Color Schemes

DesignCourse on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUIColor Theory7 min

About this video

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