Jan-22-2021, 05:37 AM
(Jan-21-2021, 05:31 PM)BashBedlam Wrote:(Jan-21-2021, 03:50 PM)Leo_Red Wrote: But, I don't know that colour value's position in the colour wheel (so that I can move the colour picker cursour to that colour position)The variablemouse
contains the cursor location when you click on a color. Try addingprint (mouse)
along with the other print statements.
I don't think you get what I mean. So, I am also adding a option to chose a colour using HEX too as a colour field cannot always be used to accurately choose a colour. So, when I input a HEX value, I want the colour field to show that colour from it. Like, if I input a colour I don't want the HEX value to show red and the colour field still be showing something like green, which will make a user confused. I want it to be uniformed. So, what I have made till now is, the colour field can find the HEX value from the colour field. But, I am not able to find where the colour is located in the colour field. I have some ideas to find it, but haven't tried if it works. Sorry, if it is getting repetitive. Thanks for helping <3