General information
Category:
Coding, syntax & commands
>I don't know what you really mean. There are only 8 distinct colors if you don't want shades. With no shades, you mean each color can only be 0 or 255, so you have the following eight options:
>
>1. RGB(0,0,0)
>2. RGB(0,0,255)
>3. RGB(0,255,0)
>4. RGB(0,255,255)
>5. RGB(255,0,0)
>6. RGB(255,0,255)
>7. RGB(255,255,0)
>8. RGB(255,255,255)
>
>If any color also can be 127, you have even more colors. You can easily create a small program to present all the different color combinations on the screen. Hey, wait, isn't that exactly what getcolor() does? :-)
>
>Which are "most used" I really don't know, since I don't know of anyone ever have had any survey on this. Frankly, I think the solution I gave you is the best.
Hi,
Yes The solution You have give is the best I agree too.
It is for a graph and when i mean distinct is that the human eye must be able to differenciate properly between two different colors i provide. If the users choose a custom color than that is different issue.
It is as though in a combo i will have red,green,blue,yellow,....,custom
just wanted to know more basic colors and their RGB values
Hope you get what i am looking for
suhashegde
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only