Code covered by the BSD License  

Highlights from
GETRGB (v1.0)

4.0

4.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 1.7 KB File ID: #19461

GETRGB (v1.0)

by Jos (10584)

 

04 Apr 2008 (Updated 04 Apr 2008)

Get RGB triplet of matlab color name

| Watch this File

File Information
Description

GETRGB returns the RGB triplet for matlab color strings, like 'yellow' or 'm'.

getrgb('y') --> [1 1 0]

Version 1.0 (april 2008)

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
str2rgb

MATLAB release MATLAB 7 (R14)
Other requirements should work on most previous versions as well.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
24 Apr 2008 rajnesh chand  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
color Jos (10584) 23 Oct 2008 06:28:18
colour Jos (10584) 23 Oct 2008 06:28:18
rgb Jos (10584) 23 Oct 2008 06:28:18
string Jos (10584) 23 Oct 2008 06:28:18
gui Jos (10584) 23 Oct 2008 06:28:18

Contact us at files@mathworks.com