(String str, int hue)
| 47 | } |
| 48 | |
| 49 | public static String RGBString(String str, int hue) { |
| 50 | String out = ""; |
| 51 | |
| 52 | for (char c : str.toCharArray()) { |
| 53 | if (hue < 360) hue+=10; |
| 54 | else hue = 0; |
| 55 | out += "[#" + hueToColor(hue) + (c == '[' ? "][" : "]") + c; |
| 56 | } |
| 57 | |
| 58 | return out; |
| 59 | } |
| 60 | |
| 61 | public static boolean canParseByteList(String[] list) { |
| 62 | for (String str : list) |