Skip to content

elenamarinaki/random-colour-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Colour Scheme Generator

This is a colour scheme generator optimized for mobile devices.

🟥 🟧 🟨 🟩 🟦 🟪 🟫

Base functionality 🎨

  • The colours are randomly generated through a function that generates random hex codes, and not from a pre-defined array.
  • The user can generate a random combination of colours either by refreshing the page or by using the refresh button bottom left.
  • Each colour can be changed individually, by taping (on mobile) or clicking (on desktop) the desired colour box.
  • If the user wants to save a combination, they can press the button bottom right to copy the hex codes to the clipboard. For this function, I have used the Clipboard API.

Recent Updates 🪄

  • (01sep21) The number of colours has increased to 6.
  • Shake device for random colour set. Additional script used for this found here.

Testing 🧪

  • The application has been tested in Firefox, Chrome and Safari.
  • The shake function works so far in Android, but it seems not to be working in iOS. More testing needs to be done as to why this is the case.

Latest Update 😊✨

Previous versions