Can this count for #ScreenshotSaturday ???
I'm bad at choosing and even worse combining colors. Often, I let the #ProcGen stuff I do just choose random colors.
But I thought having a complimentary color function would be good to create more aesthetically pleasing color palette.
Now I can randomly pick a "main" color, but have a partner color that goes well with it.
I adapted into #GDScript the algo from here: https://serennu.com/colour/rgbtohsl.php
This is now less than 25 lines of code (that's easy to config/adjust!) and produces 9 companion hues: 4 analogous, 2 triadic, 3 square...
Now I want it to also produce at least 1 neutral color. No idea yet, how to do that.
#GDScript Color object also has methods, LIGHTER and DARKER that I'm not using...