CG Python Academy
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
skool.com/cgpython
3D artists learning Blender Python.
YouTube
1-on-1 coaching/support
1.2k
Members
3
Online
1
Admin
JOIN GROUP
Leaderboard (30-day)
1
Wes Parham
+7
2
Raul Aparicio
+6
3
Zbyszek Pietras
+4
4
Michelle Moreno
+4
5
Christian Coppes
+3
See all leaderboards
Powered by