create color object in java

create color object in java
refer t‮uttual:o‬ri.com
//r, g, b and a can be a float between 0.0 and 1 or 
//an int between 0 and 255

//Color using RGB
Color col = Color(r, g, b);
//Color using RGBA
Color col = Color(r, g, b, a);
Created Time:2017-09-04 07:47:55  Author:lautturi