generates RGB code from color name string RGB = SW_COLORNAME(cName) Input: cName String that contains the name of the color, either a single character (see <a href="matlab: doc ColorSpec">ColorSpec</a>) or use any HTML color name, (see http://www.w3schools.com/html/html_colornames.asp). For multiple colors, use a cell containing the strings. The name of the colors are stored in the <a href="matlab: edit color.dat">color.dat</a> file. Output: RGB RGB color code, dimensions are [3 1] for a single color, where every element is between 0 and 255. Example: RGB = SW_COLORNAME('LightGray') the output RGB will be [211; 211; 211].