Model.colormapedit#
- Model.colormapedit(color, red, green, blue)#
Modifies a color in the color map.
- Parameters:
color (int) – The index number of the color in the color map.
red (int) – The red component of the color.
green (int) – The green component of the color.
blue (int) – The blue component of the color.
Modify color with index 12 using the combination of RGB colors (255, 51, 51)#import hm import hm.entities as ent import hw model = hm.Model() model.colormapedit( color=12, red=255, green=51, blue=51 )