Create a new palette with the average of the entries in the given palette. Each entry in the input palette may have a weight property that controls how much the entry affects the average.
weight
A color palette, with optional weights. The weights default to 1 if not set.
Create a new palette with the average of the entries in the given palette. Each entry in the input palette may have a
weight
property that controls how much the entry affects the average.