RGB

Converts component colors to MATLAB Color vector.
2.7K Downloads
Updated 28 Apr 2003

No License

RGB(Red,Green,Blue)

Convert Red, Green, Blue component color values to a MATLAB Color vector. Where each component takes a maximum value of 255, that corresponds to a value of 1 in the color vector.

Cite As

Richard Medlock (2024). RGB (https://www.mathworks.com/matlabcentral/fileexchange/3324-rgb), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Modify Image Colors in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0