Task: Implement RGB Color Gradient from Green to Red via Yellow
Task: Implement RGB Color Gradient from Green to Red via Yellow: a task in Terminal-Lego-15k (Harbor dataset). Implement a program that calculates RGB color values for a gradient that transitions from Green (value 0) to Red (value 100), passing through Yellow at the midpoint (value 50).
The task
Implement a program that calculates RGB color values for a gradient that transitions from Green (value 0) to Red (value 100), passing through Yellow at the midpoint (value 50).
Part of PrimeIntellect/Terminal-Lego-15k.