Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+11 votes
asked in CSC 150 January201920 by (1 point)

2 Answers

+6 votes

You can go to color swatches in tools and look at the numbers labeled on the yellow shades. I assume they are from 41-49.

Then use the command set color 41 + random 9.

answered by (1 point)
+3

That's right! If you want less black / white (smaller range of yellows), then you can also do

SET COLOR 43 + RANDOM 5

+1 vote

You can do

let greenum (100 +(random 100))

set color (list greenum greenum 0 (50 + (random 50)))
answered by (1 point)
...