Skip to content

ToranMarriott/colour-scheme-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Color Stack ๐ŸŽจ

A simple, responsive color scheme generator built with vanilla JavaScript and The Color API.

๐Ÿ”— Live Demo: https://color-stack.netlify.app

๐Ÿš€ Features

  • Choose a seed color using a native color picker
  • Select number of colors (3โ€“8)
  • Generate color schemes dynamically
  • Automatic contrast-aware text (black/white for readability)
  • Click any color block to copy its hex value

๐Ÿ›  Built With

  • HTML5
  • CSS3
  • Vanilla JavaScript
  • The Color API
  • Deployed with Netlify

๐Ÿง  What I Learned

  • Fetching and consuming external APIs
  • Handling asynchronous JavaScript
  • Mapping nested JSON data
  • Dynamic DOM rendering
  • Event delegation
  • Clipboard API integration
  • Basic accessibility considerations (contrast handling)

โš ๏ธ Known Issues / Improvements

  • No loading state while fetching data
  • No feedback when color is copied
  • UI could be improved for smaller screens - 7 & 8 colors causes overflow

See GitHub Issues for planned improvements.

About

A responsive color scheme generator built with vanilla JavaScript and The Color API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors