CG Python Academy (Free)
Log In
Community
Classroom
Calendar
Members
Map
Leaderboards
About
Log In
6
Victor Stepanov
Nov '24 •
❓Questions
How to flip a color ramp
Here is a way to flip the two edge stops on a color ramp
```
r, g, b, a = elements[-1].color
elements[-1].color = elements[0].color
elements[0].color = r, g, b, a
```
Like
2
1 comment
6
How to flip a color ramp
CG Python Academy (Free)
skool.com/cgpython
3D artists learning Blender Python.
YouTube
1-on-1 coaching/support
1.1k
Members
2
Online
1
Admin
JOIN GROUP
Leaderboard (30-day)
1
Robert McBride
+7
2
Rikard Jespersen
+5
3
Patrick Levar
+4
4
Vita Franchina
+3
5
Federico Salvetti
+3
See all leaderboards
Powered by