No BSD License  

Highlights from
GETSYSCOL.m

Be the first to rate this file! 1 Download (last 30 days) File Size: 4.47 KB File ID: #3326

GETSYSCOL.m

by Richard Medlock

 

24 Apr 2003 (Updated 28 Apr 2003)

Returns a list of all available system colours.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 6.5 (R13)
Other requirements Tested on Windows XP Professional, may not work on other versions.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
28 Apr 2003

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

Tag Activity for this File
Tag Applied By Date/Time
system Richard Medlock 22 Oct 2008 07:00:20
colors Richard Medlock 22 Oct 2008 07:00:20
colours Richard Medlock 22 Oct 2008 07:00:20
ui Richard Medlock 22 Oct 2008 07:00:20
controls Richard Medlock 22 Oct 2008 07:00:20
background Richard Medlock 22 Oct 2008 07:00:20
foreground Richard Medlock 22 Oct 2008 07:00:20
windows Richard Medlock 22 Oct 2008 07:00:20

Contact us at files@mathworks.com