Randomly choosing complementary colours

Some techniques for randomly choosing colours that don’t clash.

Ships in Pioneer have three colours: “primary”, “secondary” and “trim”. My stupid colour selection algorithm is to choose primary at random, but avoiding very dark and very bright because they tend to be pretty horrid. Secondary is then the inverse of that, so it has equivalent hue and blends nicely. Then trim is just a darkened version of the primary, which works well for its intended use (thin edges and such).

This process is working well but I always expected we could do better. So this is interesting reading!

via  

How to Choose Colours Procedurally (Algorithms)