mesh.VertexColors.SetColors not working in Python script

Here’s an alternative way, to me it’s more comprehensible

from System.Drawing import Color
from System import Array

colors = Array[Color](colors_list)