Added Hex code and RGB entries with automatic updates, improved code quality and performance #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why?
I'm writing this pull request because I added some useful features that me (and my friend who is a professional graphic designer and animator) thought would be necessary in a widget like this by which inputting values and manipulating colors would become much easier compared to simply being left with a simple color wheel.
What does it do?
This pull request changes the script in such a way that allows the user to change the color value based on a hex code or RGB values due to the added hex and RGB entries and the way they update automatically to reflect the inputted color value (with the hex code the user has to press enter on his keyboard for the color to update, but the RGB values are automatically updated).
Conclusion
I believe this would be a great addition to the project and would introduce a helpful feature to all users of this python module.
SS after the edits:
Summary:
Any other suggestions or edits are welcome!