The short names and long names are MATLAB strings that specify one of eight predefined colors. The RGB triple is a three-element row vector whose elements specify the intensities of the red, green, and blue components of the color; the intensities must be in the range [0 1]. The following table lists the predefined colors and their RGB equivalents.
   
| RGB Value | Short Name | Long Name | 
| [1 1 0] | y | yellow | 
| [1 0 1] | m | magenta  | 
| [0 1 1] | c | cyan | 
| [1 0 0] | r | red | 
| [0 1 0] | g | green | 
| [0 0 1] | b | blue | 
| [1 1 1] | w | white | 
| [0 0 0] | k | black | 
 
                    
                     
                    
                 
                    
                 

 
         
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号