Show different colors using RGB LED strip and Arduino
From my understanding, all LEDs on your strip are connected in a serial/parallel way that makes it impossible to drive the LEDs individually.

You need a strip with either WS2812 or APA102. APA102 is easier to drive from an Arduino as the protocol is SPI. Addfruit provides a very comprehensive description how to drive WS2812 from an Arduino.