x-coordinate of new point
y-coordinate of new point
red component of new point
green component of new point
blue component of new point
with x and y as coordinates, and r, g and b as RGB values
const redPoint = make_color_point(0.5, 0.5, 255, 0, 0);
Makes a color Point with given x and y coordinates, and RGB values ranging from 0 to 255. Any input lower than 0 for RGB will be rounded up to 0, and any input higher than 255 will be rounded down to 255.