Hello,
You can draw fixed shapes and shuffle the colors.
Reference:
IntList \ Language (API) \ Processing 3+
Example using the reference:
IntList inventory;
void setup()
{
size(200, 200);
inventory = new IntList();
inventory.append(color(255, 0, 0));
inventory.append(color(0, 255, 0));
inventory.append(color(0, 0, 255));
//println(inventory);
//prints color in hex
//These are your colors
inventory.shuffle();
println(hex(inventory.get(0)));
println(hex(inventory.get(1)));
println(hex(inventory.get(2)));
noLoop();
}
:)