mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.6K
active users

Can this count for ???

I'm bad at choosing and even worse combining colors. Often, I let the 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 the algo from here: serennu.com/colour/rgbtohsl.ph

afreytes 🇵🇷

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.

Color object also has methods, LIGHTER and DARKER that I'm not using...