View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
GETRGB (v1.0)

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

GETRGB (v1.0)


Jos (10584) (view profile)


04 Apr 2008 (Updated )

Get RGB triplet of matlab color name

| Watch this File

File Information

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

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

Version 1.0 (april 2008)


Str2rgb inspired this file.

This file inspired Convert Between Rgb And Color Names.

MATLAB release MATLAB 7 (R14)
Other requirements should work on most previous versions as well.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
24 Apr 2008 rajnesh chand

Contact us