ivanvmat / color-picker Goto Github PK
View Code? Open in Web Editor NEW:droplet: Flat and simple color-picker library. No dependencies, no jquery.
Home Page: https://ivanvmat.github.io/color-picker/
License: MIT License
:droplet: Flat and simple color-picker library. No dependencies, no jquery.
Home Page: https://ivanvmat.github.io/color-picker/
License: MIT License
Hello,
I would like to have an option to show a slightly bigger brightness slider right under the color circle instead of on the side.
Thank you very much.
Hi, Ivan. The script is great, but I'm trying to set the picker to a certain colour value when it opens. Is there a way to do this? I've been throwing arguments into picker.update, but so far nothing has worked. Thanks.
Hi,
Is it possible that you might add an option to the configuration to disable or preferably hide the alpha channel slider?
Currently I'm hiding it in a hard coded css way:
https://github.com/H0rn0chse/GifBuilder/blob/main/styles/options.css#L50
Thanks in advance.
I expect the culprit is line 244 in .js file :
let _color = new HSVaColor().fromRGBa(config.color.r || 255, config.color.g || 255, config.color.b || 255);
Hi Ivan
when clicking on the color wheel in a webbrowser multiple "picker.on('change', function(color))" events get triggered within ~20ms. This is not the case when typing in new numbers. It is not an issue with physical keeping the button pressed; I made some tests with an clicking script. Is there a way to debounce or otherwise mitigate this behavior?
Uncaught DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
plugin js code line:1434
ctx.drawImage(intermediateCanvas, 0, 0, canvas.width, canvas.height);
The .color.fromHex function does nothing even after .update is called
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.