Gamelogic Colors


Version 2.1.0

Colors is a library and editor extension for Unity for working with Colors, especially for generating coherent sets of colors procedurally. There are classes and methods for working with colors in the HSL color space, for generating color palettes procedurally, and for editing color graphs that can generate color palettes.

The initial inspiration came from the game Tiny Wings, where the colors of the hills are procedurally generated. This led first to an analysis of algorithms for procedural color generation, recorded in How to Choose Colours Procedurally (Algorithms), and the initial version of this library implemented the algorithms described there.

Some of the main classes are: