GNU Emacs Color matrix

版本 (9.4 KB) 作者: T. U.
Two MATLAB .mat files include GNU Emacs Color name and their RGB (256) array.

825.0 次下载

更新时间 2016/3/30


Two MATLAB .mat files includ GNU Emacs Color name and their RGB (256) array.
EmacsColor is a structure size with 548, each field corresponds color name and contains 1x3 array such as

EmacsColor =
snow: [1 0.980392156862745 0.980392156862745]
ghostwhite: [0.972549019607843 0.972549019607843 1]
whitesmoke: [0.960784313725490 0.960784313725490 0.960784313725490]
gainsboro: [0.862745098039216 0.862745098039216 0.862745098039216]
floralwhite: [1 0.980392156862745 0.941176470588235]
oldlace: [0.992156862745098 0.960784313725490 0.901960784313726]
linen: [0.980392156862745 0.941176470588235 0.901960784313726]

EmacsColorMat is a 548x3 array with Emacs Color code.

You may use EmacsColor and/or EmacsColorMat

load EmacsColor;
x = [1:10];
y = x.^2 ;

load EmacsColorMat;
plot(x,y,'Color',EmacsColorMat(321,:) );

You can see Emacs Color name at


T. U. (2023). GNU Emacs Color matrix (, MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
Windows macOS Linux
Help CenterMATLAB Answers 中查找有关 File Operations 的更多信息
标签 添加标签

启发作品: Convert between RGB and Color Names

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明

just update for license