Contents - Index


RGB

 

The RGB function returns the value of color formed by providing the red, green, and blue color component values.  The component values can range from 0 to 255.  The RGB function is used to specify the color of objects or text items in the Diagram window that have been associated with EES variables.  For example, if an object has been created in the Diagram window and given the name Ball, the following equation will set its color to be green.

 

Ball.fillColor=rgb(0,255,0)

 

 

Mathematical Functions