Constructor create Color from rgba components.
Default value for red, green and blue component is 0, for alpha- null
For color with specified alpha component output format will be rgba.
Output color as List object
By default, the list will be output in rgb or rgba format, depending on
the format of this object. You can also specify an arbitrary number and
order of the components are specify in the template. Default values rgb
component output as int. You can change this bypassing a true argument
asDouble. All rgb components of the default set in the range of 0-255,
but you can change this by specifying a range argument range from 0-range
(eg from 0 to 1). It is also possible to deduce the components several
times, specify the argument rows. This may be necessary when you need to
set the same color for each vertex in the polygon 3D model.
Output color as Map object
By default, the map will be output with the keys "red", "green" and
"blue". "alpha" will be displayed depending on the format of the object.
You can also specify an arbitrary number of components of said template.
Default values rgb component output as int. You can change this by
passing a true argument asDouble. All rgb components of the default set
in the range of 0-255, but you can change this by specifying a range
argument needs range from 0-range (eg from 0 to 1).