Replies: 2 comments
-
This doesn't pick from an image; it uses math to figure out the color based on the positions of the handles. If you want to pick from an image, you're better off making your own color picker with the html5 canvas. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you so much 🥰
…On Sun, Feb 19, 2023, 10:07 PM James ***@***.***> wrote:
This doesn't pick from an image; it uses math to figure out the color
based on the positions of the handles.
If you want to pick from an image, you're better off making your own color
picker with the html5 canvas.
—
Reply to this email directly, view it on GitHub
<#248 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX34B322S7RZH3OBVZBGIS3WYJAL5ANCNFSM6AAAAAAVAYJ5LE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
251/A and 252, Tejgaon Industrial Area,
Dhaka - 1208, Bangladesh.
Mob:
019117-81327, 01766-348518
Web: www.seu.edu.bd <https://www.seu.edu.bd>,
Email: ***@***.*** ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
var colorPicker = new iro.ColorPicker(".colorPicker", { // color picker options // Option guide: https://iro.js.org/guide.html#color-picker-options width: 280, color: "rgb(255, 0, 0)", borderWidth: 1, borderColor: "#fff", });
Beta Was this translation helpful? Give feedback.
All reactions