Given:
var myColor = new System.Drawing.Color.FromArgb(64, 64, 64); //can be any value x,y,z
then what should be newColor = new ColorPt(?,?,?);
That is, how to convert ‘myColor’ to ColorPt?
Regards,
Given:
var myColor = new System.Drawing.Color.FromArgb(64, 64, 64); //can be any value x,y,z
then what should be newColor = new ColorPt(?,?,?);
That is, how to convert ‘myColor’ to ColorPt?
Regards,
ColorPt values are from [0.0-1.0], so you would divide your values by 255 to get a value from 0-1.