Companion

object Companion

Properties

Link copied to clipboard

Green into magenta, which is a jump no daylight ever makes. Deliberately synthetic.

Link copied to clipboard

Deep violet into pink, for the slower drifting drawings.

Link copied to clipboard

The blue and cyan ramp of the players everyone remembers.

Link copied to clipboard

Almost nothing, then coal, then flame. For the drawings that should look hot.

Link copied to clipboard

Every built-in palette, in the order a player cycles through them.

Link copied to clipboard

Green through amber to red, the way a level meter warns you.

Link copied to clipboard

Navy into white blue. The quietest palette here, and the right one for a slow track.

Link copied to clipboard

One hue and nothing else. Everything is said with lightness, which is oddly restful.

Link copied to clipboard

The whole circle. Loud, and the right answer for anything that rotates.

Link copied to clipboard

The amber of a street light at night. Warm, narrow and slightly sad.

Link copied to clipboard

Purple, red and gold, in that order, which is the sky doing it.

Link copied to clipboard

Violet into electric blue. Everything drawn in it looks like it is glowing from inside.

Link copied to clipboard

Teal into pink. Cold at the bottom, hot at the top, nothing in the middle.

Functions

Link copied to clipboard
fun fromColors(name: String, colors: List<Color>): VizPalette

A palette built from a handful of colours, in any order.

Link copied to clipboard

A palette taken from a picture: its main colours, found by grouping similar pixels.