-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converting RGB value to Integer #28
Comments
Not sure I follow. |
Hmmm, Yes :) |
can you please guide, where should I start ? Or can I somehow hire you for adding those features? |
one more question, how can I use RGB value as a default ?
|
const [color, setColor] = useColor("rgb", { r: 0, g: 0, b: 255 }); |
Thank you ! But after I set useColor as "rgb" → I can't select another color anymore. Could you please check what i did wrong? https://codesandbox.io/s/heuristic-river-f9htb?file=/src/App.js thanks |
This is related with bug #25, which has already been fixed. |
Thank you @Wondermarin :) |
Outdated |
The Problem:
I would like to add a more following function in to the app:
Function for converting RGB value to integer.
→ Show live value on the interface (same like #HEX value)
→ Able to input the number, and change the color.
→ Able to pass the current value to another function in my app.
Ability to add a blank custom input field into the interfaces (with editable caption)
→ This doesn't need to show any value, I'd like that use can able to type input by themselves.
The Solution:
Converting function is pretty simple as below, but I don't know how to add it into the app..
Could you help me please? contact: pc@passch.com
The text was updated successfully, but these errors were encountered: