i want to loop through each avaiable color in Color struct.
Is that possible?
serkan sendur
821
Postaholic
Banned
Recommended Answers
Jump to PostDepends on what you want Serkan.
This http://www.daniweb.com/code/snippet1022.html loops through what is called the KnowColors.
All the colors would need 256*256*256 iterations I guess.
Jump to PostYou also could create a file and read it in.
One of the lines would be the values of this:Color c = Color.CornflowerBlue; int Alpha = c.A; int Red = c.R; int Green = c.G; int Blue = c.B;
All 10 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
serkan sendur
821
Postaholic
Banned
ddanbe
2,724
Professional Procrastinator
Featured Poster
serkan sendur
821
Postaholic
Banned
serkan sendur
821
Postaholic
Banned
serkan sendur
821
Postaholic
Banned
wildgoose
420
Practically a Posting Shark
qauaan
0
Newbie Poster
serkan sendur
821
Postaholic
Banned
Mauricio Feijo
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.