Giter VIP home page Giter VIP logo

rgb-hsl-clock's Introduction

Color Wheel Transition

A simple site that features a dynamic color wheel transition based on the HSL color space. The background color smoothly shifts through the HSL spectrum, providing a visually appealing experience. Additionally, the webpage displays real-time HSL color information along with the corresponding hex code.

Features

  • Dynamic Color Transition: The background color transitions smoothly through the HSL spectrum.
  • Real-time HSL Information: The webpage showcases the current HSL color values and the corresponding hex code.

Demo GIF

DEMO

How to Use

  1. Clone the repository:

    git clone https://github.com/noahsamoa/rgb-hsl-clock.git
    cd rgb-hsl-clock
  2. Open the index.html file in your preferred web browser.

Project Details

  • The color wheel utilizes the HSL color space, adjusting the hue value over time.
  • JavaScript is employed to update the background color, HSL information, and hex code dynamically.
  • The transition includes smooth color changes and an inverted text color for better visibility.

Notes

  • The linear hue portion of the HSL spectrum has only 360 degrees of scale, but there are 1,440 minutes per day; this leads to one hue change every 4 minutes.

Contributions

Contributions are welcomed! If you have ideas, bug fixes, or improvements, please open an issue or submit a pull request.

rgb-hsl-clock's People

Contributors

noahsamoa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.