Using the same value for all color components ensures that


Create stars of random brightness. You can do this by creating a random number between 0 and 255 (the legal range for RGB values for colors) and creating a new Color object using the same random value for all three color components (red, green, and blue). Using the same value for all color components ensures that the resulting color is a shade of neutral gray. Use this new random color for painting the stars. Make sure to generate a new color for every new star.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Using the same value for all color components ensures that
Reference No:- TGS02191914

Expected delivery within 24 Hours