Jan-22-2021, 04:00 PM
(This post was last modified: Jan-22-2021, 04:00 PM by BashBedlam.)
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]
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]