File Exchange

image thumbnail

GETRGB (v1.0)

version 1.0 (1.7 KB) by

Get RGB triplet of matlab color name

0 Downloads

Updated

View License

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

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

Version 1.0 (april 2008)

Comments and Ratings (1)

rajnesh chand

MATLAB Release
MATLAB 7 (R14)
Acknowledgements

Inspired by: str2rgb

Inspired: Convert between RGB and Color Names

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

» Watch video