static int getColorFromByte(List<int> byte, int index, {bool isLog = false}) { return getColorRgb( byte[index], byte[index + 1], byte[index + 2], byte[index + 3]); }