Ask HN: Is there an algorithm to generate coherent color palettes?
Colors on electronic screens are just numbers. So by first principles, designers are in fact picking some numbers from an infinite set.
This selection process is certainly not random. It's common knowledge that blue works well with red on flags.
My question is: can a computer come up with a color palette (ie hex codes) that will work well together?
Is there any literature around this topic?
PS: I'm working on a side project that needs to generate color palettes and I have no clue about it.
Thanks