Thread Subject: color names

Subject: color names

From: Assaf Weinstein

Date: 7 Mar, 2010 19:16:06

Message: 1 of 4

Hi,

Is there any table in matlab that lists all possible colors?

Thanks,

Assaf

Subject: color names

From: dpb

Date: 7 Mar, 2010 19:17:54

Message: 2 of 4

Assaf Weinstein wrote:
...

> Is there any table in matlab that lists all possible colors?
...

I'd think that would be a rather long list if were using 24-bit, for
example...

--

Subject: color names

From: Walter Roberson

Date: 7 Mar, 2010 19:29:16

Message: 3 of 4

Assaf Weinstein wrote:

> Is there any table in matlab that lists all possible colors?

If you are talking about RGB or HSV colours specified by three
components, then NO -- such a table would have to have 2^24 (about 16
million) entries.

If you are talking about the colour specifications known by simple
letter or name to Matlab, then Yes:

b -- blue
c -- cyan
g -- green
k -- black (from the German Kol)
m -- magenta
o -- orange
r -- red
w -- white

and that's it. For example, Matlab does not even have a color name for
gray or pink.

Subject: color names

From: us

Date: 7 Mar, 2010 19:41:05

Message: 4 of 4

"Assaf Weinstein" <assafweinstein_remove.this@gmail.com> wrote in message <hn0u1m$naa$1@fred.mathworks.com>...
> Hi,
>
> Is there any table in matlab that lists all possible colors?
>
> Thanks,
>
> Assaf

a hint:
- this FEX submission by jd might(!) come in handy as a first aid...

http://www.mathworks.com/matlabcentral/fileexchange/12326

us

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
reference us 7 Mar, 2010 14:44:10
fex us 7 Mar, 2010 14:44:10
file exchange us 7 Mar, 2010 14:44:10
rssFeed for this Thread

Contact us at files@mathworks.com