ColorMap.from_three_colors
- classmethod ColorMap.from_three_colors(c1, c2, c3)[source]
Construct a color map from three colors.
- Parameters:
- c1
compas.colors.Color The first color.
- c2
compas.colors.Color The second color.
- c3
compas.colors.Color The third color.
- c1
- Returns:
compas.colors.ColorMapA color map with 256 colors.