COLORSPEC Color Property Description

Section: Handle-Based Graphics

Usage

There are a number of ways of specifying a color value for a color-based property. Examples include line colors, marker colors, and the like. One option is to specify color as an RGB triplet
   set(h,'color',[r,g,b])

where r,g,b are between @[0,1]@. Alternately, you can use color names to specify a color.