Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dynamic color picker that displays the RGB value received from input fields

Notifications You must be signed in to change notification settings

MaceTenth/Color-Picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

13 Commits

Repository files navigation

Color Picker

This simple app demonstrates the use of input fields to select a color according to RGB parameters and an alpha channel representing the transparency. One of the things to pay attention to is which event listener to use. When using the "change" event, the setting of the input appears only after the change. When using an "input" event, there is a nice effect of running numbers. I also added a nice feature that identifies whether the background is light or dark and changes the color of the text accordingly.

Demo

demo.mp4

About

Dynamic color picker that displays the RGB value received from input fields

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /