Jan-22-2021, 04:07 PM
(Jan-22-2021, 04:00 PM)BashBedlam Wrote: A single image with every color value would have to contain at least 16,581,375 pixels. In your illustration of the gimp color selector the outer ring selects the basic color and the inner triangle selects the hue. I've never attempted anything like that so I don't think I can help. I can say that if you want that small ring indicating where on the triangle the hex value will land, you will have to use a list or dictionary to map out every pixel on that triangle and then use those coordinates to place the indicator.
A less ambitious approach would be to offer a pallet of ten or twenty colors with the option to add ten or twenty "cumtom" colors entered by the user as hex values. Something like this : [Image: palette.png]
Yes you are right, but I have gone too into it that, I want to continue it. I am not using a colour wheel with a ring and a triangle, it is just a simple colour wheel like the one I showed in by first thread. I am going to find a solution tomorrow and let you know if it worked. On a side note, is there a colour wheel or colour picker in one of the pygame’s GUI libraries? As a backup if nothing works out. Thank you again for helping me ❤️❤️