Puzzle 1

The five colors represent integer weights, not necessarily distinct, from 0 to 9.

Click the numbers until the correct combination code is shown.

Cmglee, CC BY-SA 4.0, via Wikimedia Commons

Puzzle 2

Cmglee, CC BY-SA 4.0 , via Wikimedia Commons