Generate 3 color strip in C