How can I set the RGBA color for points in polyData

How can I set the RGBA color for points in polyData
What is the range of RGBA values

Take a look at the code here:

The values are [0 - 255].