About 500,000 results
Open links in new tab
  1. javascript - Random color generator - Stack Overflow

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

  2. c# - Get Random Color - Stack Overflow

    Random r = new Random(); BackColor = Color.FromArgb(0, 0, r.Next(0, 256)); I want my Code to return one, random Color, not only green/red/blue every time, as the above ones do. How to solve this? …

  3. python - Generate random colors (RGB) - Stack Overflow

    Mar 12, 2015 · Taking a uniform random variable as the value of RGB may generate a large amount of gray, white, and black, which are often not the colors we want. The cv::applyColorMap can easily …

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

    The similar idea is implemented in Adams Cole answer to the similar question, but his code have random color generator and hsl->hex rgb translator bundled together which makes it hard to …

  5. Android: Generate random color on click? - Stack Overflow

    Mar 12, 2011 · 118 I have an ImageView, in which I am programmaticly creating drawables and presenting them to the user. My goal is to click on said ImageView and change the drawable's color. …

  6. javascript - Random Color From Array - Stack Overflow

    I'm looking to build something with JavaScript that will pick a random value (background-color) from an array of given hex colors and apply it to a given div element. Anyone know a good way to do ...

  7. Generating a random hex color code with PHP - Stack Overflow

    I'm working on a project where I need to generate an undefined number of random, hexadecimal color codes…how would I go about building such a function in PHP?

  8. How can I make the turtle a random color? - Stack Overflow

    Sep 7, 2017 · 3 How can I fix this code to make the turtle a random color? I want to be able to click to make the turtle turn and change color.

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

    Dec 22, 2012 · 98 For a Django App, each "member" is assigned a color to help identify them. Their color is stored in the database and then printed/copied into the HTML when it is needed. The only …

  10. How do you get random RGB in Javascript? - Stack Overflow

    I have this code that uses RGB color selection and I was wondering how to make JavaScript do a random color using the RGB method and remember it throughout the code. EDIT: I tried this: var …