colors(name)
Return RGB color triplet for a color name.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Maximilien Chaumon (2026). colors(name) (https://www.mathworks.com/matlabcentral/fileexchange/56006-colors-name), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Convert between RGB and Color Names
General Information
- Version 1.0.0 (6.25 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 | add figure |