About 255,000 results
Open links in new tab
  1. colors - Creating random colour in Java? - Stack Overflow

    Nov 22, 2010 · I want to draw random coloured points on a JPanel in a Java application. Is there any method to create random colours?

  2. Best way to generate a random color in javascript? [closed]

    For example, say you start with 30 items to color, but the user adds a 31st item. Is there a way to have it continue with its currently generated set and simply generate a 31st color that adheres …

  3. javascript - Random color generator - Stack Overflow

    Given this function, I want to replace the color with a random color generator.

  4. What does bad color sequence mean in Python turtle?

    From the docs: Each of r, g, and b must be in the range 0..colormode, where colormode is either 1.0 or 255 (see colormode ()). Your colormode is probably set to 1.0, so either the individual …

  5. Generating a Random Hex Color in Python - Stack Overflow

    Dec 22, 2012 · Neither of these are very appealing, so, again, I'm wondering how to generate random Hex colors in python/django.

  6. How to use random in BATCH script? - Stack Overflow

    Apr 25, 2011 · 7 set /a number=%random% %% [maximum]-[minimum] example " set /a number=%random% %% 100-50 will give a random number between 100 and 50. Be sure to …

  7. Algorithm to randomly generate an aesthetically-pleasing color …

    Sep 4, 2008 · I'm looking for a simple algorithm to generate a large number of random, aesthetically pleasing colors. So no crazy neon colors, colors reminiscent of feces, etc. I've …

  8. Automatically plot different colored lines - Stack Overflow

    Jan 9, 2010 · 5 If all vectors have equal size, create a matrix and plot it. Each column is plotted with a different color automatically Then you can use legend to indicate columns:

  9. swing - How to generate random colors in Java? - Stack Overflow

    Jul 17, 2013 · I would like to generate a random color for JLabel in Java. The JLabel will be changing the background every 100 ms and the background has to be random. How to do …

  10. word cloud in python with customised random colour generation

    May 11, 2020 · I saw this function to generate a word cloud online however I am unable to figure out how to change the colour in the def_random_func. Say if I want orange, right now the code …