public static void CreateLivery(string outputFile, params Color[] color) {
using (var bitmap = new Bitmap(64, 64))
using (var graphics = Graphics.FromImage(bitmap)) {
var max = color.Length > 15 ? 15 : color.Length;
for (var i = 0; i < max; i++) {
graphics.FillRectangle(new SolidBrush(color[i]), 0, (float)Math.Sqrt((double)i / max) * 64, 64, 64);
}
bitmap.Save(outputFile, ImageFormat.Png);
}
}