Skip to content

About

Small App (Random Color Changer) teaching by Sir NYH

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Color Changer

A small, dependency-free browser app for generating random colors.

Features

  • Generate colors in HEX or RGB format.
  • Copy the current color value to the clipboard.
  • Reapply one of the five most recent colors.
  • Persist the current color, format preference, and history in the browser.
  • Use keyboard shortcuts: Space generates a color and C copies it.

Run locally

No installation is needed. Open index.html in a modern web browser.

For the best clipboard support, serve the folder with a local web server, for example:

python -m http.server 8000

Then visit http://localhost:8000.

Project files

  • index.html — page structure and controls
  • style.css — responsive styling
  • random.js — color generation, clipboard support, and local storage
  • rgb.js — learning notes and small RGB/HEX examples

About

Small App (Random Color Changer) teaching by Sir NYH

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages