create

fun create(colors: Iterable<Color>): Colormap

Creates a colormap with specified colors.

Return

A null or a new colormap object.

Since

200.1.0

Parameters

colors

An array of colors.