x11colors
These functions provide additional colors to MatLab's default, both for curve plotting and image display.
The color names that these functions use were taken from
http://cng.seas.rochester.edu/CNG/docs/x11color.html
on September 2015.
Three files are included:
x11colors.mat : data file of the colors
x11colors.m : function to get color values that Matlab understands. Use this one for curve plotting.
x11colormp.m : function to create color maps with the colors from x11colors. Use this one for image display.
The first one is read-only. Detailed information on how to use the other two is included in each file.
Author: Valeria Rodriguez-Fajardo
Cite As
Valeria Rodríguez-Fajardo (2026). x11colors (https://www.mathworks.com/matlabcentral/fileexchange/73859-x11colors), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Labels and Styling > Color and Styling > Red >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
