Jump to content

Have you used colors?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Sir_Rimo

Sir_Rimo

    Newbie

  • Members
  • PipPip
  • 18 posts
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.... :)

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
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.

#3
Sir_Rimo

Sir_Rimo

    Newbie

  • Members
  • PipPip
  • 18 posts
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!