ColorMap.from_three_colors

classmethod ColorMap.from_three_colors(c1, c2, c3)

Construct a color map from three colors.

Parameters
  • c1 (Color) – The first color.

  • c2 (Color) – The second color.

  • c3 (Color) – The third color.

Returns

ColorMap