Lost Password?


Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-13-2007, 07:10 PM
Sir_Rimo's Avatar   
Sir_Rimo Sir_Rimo is offline
Newbie
 
Join Date: Jan 2007
Posts: 18
Rep Power: 7
Sir_Rimo is on a distinguished road
Arrow Have you used colors?

Can anybody tell me how can I design an algorithm that generates The RGB codes? I mean, if I want to have a program that gets a number from the user and gives him that much colors, what is the algorithm? the program should generate N colors using the just N!
The colors should be distinct, and not random of course!
thanks everybody....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 01-15-2007, 09:21 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,224
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

I don't understand, do you want the users to input the hex color scheme or are you just generating colors? Several IDEs already have functions that generate these colors based on a value, you just need to create a algorithm that increases that value.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2007, 09:29 AM
Sir_Rimo's Avatar   
Sir_Rimo Sir_Rimo is offline
Newbie
 
Join Date: Jan 2007
Posts: 18
Rep Power: 7
Sir_Rimo is on a distinguished road
Default

I want an algorithm to get a number and give us that number of colors. For example if I need 117 colors for my Graphical Interfaces, I enter 117, and the algorithm will generate 117 colors. I will not recieve random colors, so the colors are in all ranges. This project is said to be one of the best practisies for mind! and I need to do it for my job. I really need help, if anybody can do me a favor...
thanks Jordan for the reply!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Colors NeedHelp The Lounge 22 07-12-2007 12:49 AM
Escape character ansi colors and ncurses tobs C and C++ 6 02-04-2007 01:11 PM
Cyber Industries cyber_demon12 Site Reviews 7 07-23-2006 06:58 AM
Proper way to store and retrieve colors from registry NeedHelp C# Programming 5 05-28-2006 11:28 PM


All times are GMT -5. The time now is 01:35 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads