Color Themes
Use model.colorTheme to specify a color theme for selection colors.
Use model.colorTheme(<theme>) to set the color theme to be used in the graphics. Using automatic indicates that the theme specified in the preferences will be used. The other possible theme values are the names of the themes in the data/color folder in the COMSOL installation folder.
Use model.colorTheme() to return the current color theme. The value automatic indicates that the color theme specified in the preferences is used.
Use model.imageColorTheme(<theme>) to set the color theme for image export. Likewise, model.imageColorTheme() returns the current image export color theme.
See also the color and customcolor properties for selections and geometry features.