GETSYSCOL.m

版本 1.0.0.0 (1.5 KB) 作者: Richard Medlock
Returns a list of all available system colours.
2.0K 次下载
更新时间 2003/4/28

无许可证

GetSysCol(format,color)

GETSYSCOL

Returns a structure containing all the default system colors.

GETSYSCOL('matlab') - default
Returns colors in the standard matlab color format 0-1.

GETSYSCOL('rgb') - not case sensitive
Returns colors as individual RGB values using the range 0-255.

GETSYSCOL(format,color)
Returns the specified color from the list below in the specified
format ('matlab' or 'rgb')

Colors returned by this function:

ActiveBorder, HotTrackingColor,
ActiveTitle, InactiveBorder
AppWorkSpace, InactiveTitle
Background, InactiveTitleText
ButtonAlternateFace, InfoText
ButtonDkShadow, InfoWindow
ButtonFace, Menu
ButtonHilight, MenuBar
ButtonLight, MenuHilight
ButtonShadow, MenuText
ButtonText, Scrollbar
GradientActiveTitle, TitleText
GradientInactiveTitle, Window
GrayText, WindowFrame
Hilight, WindowText
HilightText

Only works on windows platform.

引用格式

Richard Medlock (2024). GETSYSCOL.m (https://www.mathworks.com/matlabcentral/fileexchange/3326-getsyscol-m), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Tracking and Motion Estimation 的更多信息

Community Treasure Hunt

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

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

Just modified the description so you can read the color names a bit better.