If you want to try making text in aion colorful, past the following code into THIS WEBSITE: http://www.compileonline.com/compile_java_online.php And press Compile. You have to make the sentence in quotes the perfect length though.
Here is the code: public class StringDemo { public static void main(String[] args) { String input = "Time to go back to working on 60 daeva>_< aethertapping"; /** 1234567890 234567890 234567890 234567890 234567890 2345**/ String part1 = input.substring(0, 5); String part2 = input.substring(5, 10); String part3 = input.substring(10, 15); String part4 = input.substring(15, 20); String part5 = input.substring(20, 25); String part6 = input.substring(25, 30); String part7 = input.substring(30, 35); String part8 = input.substring(35, 40); String part9 = input.substring(40, 45); String part10 = input.substring(45, 50); String part11 = input.substring(50, 55); String output = "[color:".concat(part1); output = output.concat(";.6 1 1][color:"); output = output.concat(part2); output = output.concat(";.7 1 1][color:"); output = output.concat(part3); output = output.concat(";.7 .9 1][color:"); output = output.concat(part4); output = output.concat(";.8 .9 1][color:"); output = output.concat(part5); output = output.concat(";.8 .8 1][color:"); output = output.concat(part6); output = output.concat(";.9 .8 1][color:"); output = output.concat(part7); output = output.concat(";.9 .7 1][color:"); output = output.concat(part8); output = output.concat(";1 .7 1][color:"); output = output.concat(part9); output = output.concat(";1 .7 .9][color:"); output = output.concat(part10); output = output.concat(";1 .7 .8][color:"); output = output.concat(part11); output = output.concat(";1 .7 .7]\n\n"); System.out.println("~~~ light blue & purple & pink"); System.out.println(output); input = "Testing this one some more to see the full color range~"; /** 1234567890 234567890 234567890 234567890 234567890 2345**/ part1 = input.substring(0, 5); part2 = input.substring(5, 10); part3 = input.substring(10, 15); part4 = input.substring(15, 20); part5 = input.substring(20, 25); part6 = input.substring(25, 30); part7 = input.substring(30, 35); part8 = input.substring(35, 40); part9 = input.substring(40, 45); part10 = input.substring(45, 50); part11 = input.substring(50, 55); output = "[color:".concat(part1); output = output.concat(";.3 .4 1][color:"); output = output.concat(part2); output = output.concat(";.4 .4 1][color:"); output = output.concat(part3); output = output.concat(";.5 .4 1][color:"); output = output.concat(part4); output = output.concat(";.6 .4 1][color:"); output = output.concat(part5); output = output.concat(";.7 .4 1][color:"); output = output.concat(part6); output = output.concat(";.8 .4 1][color:"); output = output.concat(part7); output = output.concat(";.8 .5 1][color:"); output = output.concat(part8); output = output.concat(";.8 .6 1][color:"); output = output.concat(part9); output = output.concat(";.8 .7 1][color:"); output = output.concat(part10); output = output.concat(";.8 .8 1][color:"); output = output.concat(part11); output = output.concat(";.8 .9 1]\n\n"); System.out.println("~~~dark blue & purple & light blue"); System.out.println(output); input = "You guys need to get better at making trippy colors :D "; /** 1234567890 234567890 234567890 234567890 234567890 2345**/ part1 = input.substring(0, 5); part2 = input.substring(5, 10); part3 = input.substring(10, 15); part4 = input.substring(15, 20); part5 = input.substring(20, 25); part6 = input.substring(25, 30); part7 = input.substring(30, 35); part8 = input.substring(35, 40); part9 = input.substring(40, 45); part10 = input.substring(45, 50); part11 = input.substring(50, 55); output = "[color:".concat(part1); output = output.concat(";.6 1 .7][color:"); output = output.concat(part2); output = output.concat(";.6 .9 .7][color:"); output = output.concat(part3); output = output.concat(";.6 .8 .7][color:"); output = output.concat(part4); output = output.concat(";.6 .7 .7][color:"); output = output.concat(part5); output = output.concat(";.6 .6 .7][color:"); output = output.concat(part6); output = output.concat(";.6 .5 .7][color:"); output = output.concat(part7); output = output.concat(";.6 .4 .7][color:"); output = output.concat(part8); output = output.concat(";.6 .3 .7][color:"); output = output.concat(part9); output = output.concat(";.6 .2 .7][color:"); output = output.concat(part10); output = output.concat(";.6 .1 .7][color:"); output = output.concat(part11); output = output.concat(";.6 0 .7]\n\n"); System.out.println("~~~sea green & blue & purple~~~"); System.out.println(output); input = "So i could stand next to her in panda >:D "; /** 1234567890 234567890 234567890 234567890 234567890 2345**/ part1 = input.substring(0, 5); part2 = input.substring(5, 10); part3 = input.substring(10, 15); part4 = input.substring(15, 20); part5 = input.substring(20, 25); part6 = input.substring(25, 30); part7 = input.substring(30, 35); part8 = input.substring(35, 40); part9 = input.substring(40, 45); part10 = input.substring(45, 50); part11 = input.substring(50, 55); output = "[color:".concat(part1); output = output.concat(";1 1 .7][color:"); output = output.concat(part2); output = output.concat(";1 .9 .7][color:"); output = output.concat(part3); output = output.concat(";1 .8 .7][color:"); output = output.concat(part4); output = output.concat(";1 .7 .7][color:"); output = output.concat(part5); output = output.concat(";1 .6 .7][color:"); output = output.concat(part6); output = output.concat(";1 .5 .7][color:"); output = output.concat(part7); output = output.concat(";1 .4 .7][color:"); output = output.concat(part8); output = output.concat(";1 .4 .6][color:"); output = output.concat(part9); output = output.concat(";1 .4 .5][color:"); output = output.concat(part10); output = output.concat(";1 .4 .4][color:"); output = output.concat(part11); output = output.concat(";1 .4 .3]\n\n"); System.out.println("~~~yellow & pink~~~"); System.out.println(output); input = "More colors. moreeeeeeeee!! What color should i do next"; /** 1234567890 234567890 234567890 234567890 234567890 2345**/ part1 = input.substring(0, 5); part2 = input.substring(5, 10); part3 = input.substring(10, 15); part4 = input.substring(15, 20); part5 = input.substring(20, 25); part6 = input.substring(25, 30); part7 = input.substring(30, 35); part8 = input.substring(35, 40); part9 = input.substring(40, 45); part10 = input.substring(45, 50); part11 = input.substring(50, 55); output = "[color:".concat(part1); output = output.concat(";.2 .4 .4][color:"); output = output.concat(part2); output = output.concat(";.3 .4 .4][color:"); output = output.concat(part3); output = output.concat(";.4 .4 .4][color:"); output = output.concat(part4); output = output.concat(";.5 .4 .4][color:"); output = output.concat(part5); output = output.concat(";.6 .4 .4][color:"); output = output.concat(part6); output = output.concat(";.7 .4 .4][color:"); output = output.concat(part7); output = output.concat(";.8 .4 .4][color:"); output = output.concat(part8); output = output.concat(";.8 .4 .5][color:"); output = output.concat(part9); output = output.concat(";.8 .4 .6][color:"); output = output.concat(part10); output = output.concat(";.8 .5 .6][color:"); output = output.concat(part11); output = output.concat(";.8 .6 .6]\n\n"); System.out.println("~~~forest green & orange & pink~~~"); System.out.println(output); input = "I'm still trying more variations of this~ so pretty :3"; /** 1234567890 234567890 234567890 234567890 234567890 2345**/ part1 = input.substring(0, 5); part2 = input.substring(5, 10); part3 = input.substring(10, 15); part4 = input.substring(15, 20); part5 = input.substring(20, 25); part6 = input.substring(25, 30); part7 = input.substring(30, 35); part8 = input.substring(35, 40); part9 = input.substring(40, 45); part10 = input.substring(45, 50); part11 = input.substring(50, 55); output = "[color:".concat(part1); output = output.concat(";1 .6 1][color:"); output = output.concat(part2); output = output.concat(";.9 .5 .9][color:"); output = output.concat(part3); output = output.concat(";.8 .4 .8][color:"); output = output.concat(part4); output = output.concat(";.7 .3 .7][color:"); output = output.concat(part5); output = output.concat(";.6 .2 .6][color:"); output = output.concat(part6); output = output.concat(";.5 .1 .5][color:"); output = output.concat(part7); output = output.concat(";.4 0 .4][color:"); output = output.concat(part8); output = output.concat(";.3 0 .3][color:"); output = output.concat(part9); output = output.concat(";.2 0 .2][color:"); output = output.concat(part10); output = output.concat(";.1 0 .1][color:"); output = output.concat(part11); output = output.concat(";0 0 0]\n\n"); System.out.println("~~~purple & black~~~"); System.out.println(output); input = "This is so goddamn addicting. I can't stop making color"; /** 1234567890 234567890 234567890 234567890 234567890 2345**/ part1 = input.substring(0, 5); part2 = input.substring(5, 10); part3 = input.substring(10, 15); part4 = input.substring(15, 20); part5 = input.substring(20, 25); part6 = input.substring(25, 30); part7 = input.substring(30, 35); part8 = input.substring(35, 40); part9 = input.substring(40, 45); part10 = input.substring(45, 50); part11 = input.substring(50, 55); output = "[color:".concat(part1); output = output.concat(";1 1 .8][color:"); output = output.concat(part2); output = output.concat(";1 .95 .7][color:"); output = output.concat(part3); output = output.concat(";1 .9 .6][color:"); output = output.concat(part4); output = output.concat(";1 .85 .5][color:"); output = output.concat(part5); output = output.concat(";1 .8 .4][color:"); output = output.concat(part6); output = output.concat(";1 .8 .5][color:"); output = output.concat(part7); output = output.concat(";1 .8 .6][color:"); output = output.concat(part8); output = output.concat(";1 .8 .7][color:"); output = output.concat(part9); output = output.concat(";1 .8 .8][color:"); output = output.concat(part10); output = output.concat(";1 .8 .9][color:"); output = output.concat(part11); output = output.concat(";1 .8 1]\n\n"); System.out.println("~~~white & peach & pink~~~"); System.out.println(output); input = "This one is more peachy color :D wheee so fun to make~~"; /** 1234567890 234567890 234567890 234567890 234567890 2345**/ part1 = input.substring(0, 5); part2 = input.substring(5, 10); part3 = input.substring(10, 15); part4 = input.substring(15, 20); part5 = input.substring(20, 25); part6 = input.substring(25, 30); part7 = input.substring(30, 35); part8 = input.substring(35, 40); part9 = input.substring(40, 45); part10 = input.substring(45, 50); part11 = input.substring(50, 55); output = "[color:".concat(part1); output = output.concat(";1 1 .8][color:"); output = output.concat(part2); output = output.concat(";1 .95 .7][color:"); output = output.concat(part3); output = output.concat(";1 .9 .6][color:"); output = output.concat(part4); output = output.concat(";1 .85 .5][color:"); output = output.concat(part5); output = output.concat(";1 .8 .4][color:"); output = output.concat(part6); output = output.concat(";1 .75 .3][color:"); output = output.concat(part7); output = output.concat(";1 .7 .2][color:"); output = output.concat(part8); output = output.concat(";1 .65 .1][color:"); output = output.concat(part9); output = output.concat(";1 .6 0][color:"); output = output.concat(part10); output = output.concat(";1 .55 0][color:"); output = output.concat(part11); output = output.concat(";1 .5 0]\n\n"); System.out.println("~~~white & peach & orange~~~"); System.out.println(output); input = "Have you had any drugs this morning yet? Yummy pills? "; /** 1234567890 234567890 234567890 234567890 234567890 2345**/ part1 = input.substring(0, 5); part2 = input.substring(5, 10); part3 = input.substring(10, 15); part4 = input.substring(15, 20); part5 = input.substring(20, 25); part6 = input.substring(25, 30); part7 = input.substring(30, 35); part8 = input.substring(35, 40); part9 = input.substring(40, 45); part10 = input.substring(45, 50); part11 = input.substring(50, 55); output = "[color:".concat(part1); output = output.concat(";.6 .7 .7][color:"); output = output.concat(part2); output = output.concat(";.65 .7 .67][color:"); output = output.concat(part3); output = output.concat(";.7 .7 .63][color:"); output = output.concat(part4); output = output.concat(";.75 .7 .6][color:"); output = output.concat(part5); output = output.concat(";.8 .7 .57][color:"); output = output.concat(part6); output = output.concat(";.85 .7 .53][color:"); output = output.concat(part7); output = output.concat(";.9 .67 .5][color:"); output = output.concat(part8); output = output.concat(";.95 .63 .5][color:"); output = output.concat(part9); output = output.concat(";1 .6 .5][color:"); output = output.concat(part10); output = output.concat(";1 .57 .5][color:"); output = output.concat(part11); output = output.concat(";1 .53 .5]\n\n"); System.out.println("~~~gray & orange~~~"); System.out.println(output); input = "Felysia is there any cream left over from last time? :3"; /** 1234567890 234567890 234567890 234567890 234567890 2345**/ part1 = input.substring(0, 5); part2 = input.substring(5, 10); part3 = input.substring(10, 15); part4 = input.substring(15, 20); part5 = input.substring(20, 25); part6 = input.substring(25, 30); part7 = input.substring(30, 35); part8 = input.substring(35, 40); part9 = input.substring(40, 45); part10 = input.substring(45, 50); part11 = input.substring(50, 55); output = "[color:".concat(part1); output = output.concat(";1 .3 .4][color:"); output = output.concat(part2); output = output.concat(";1 .3 .4][color:"); output = output.concat(part3); output = output.concat(";1 .4 .4][color:"); output = output.concat(part4); output = output.concat(";.97 .5 .43][color:"); output = output.concat(part5); output = output.concat(";.97 .55 .43][color:"); output = output.concat(part6); output = output.concat(";.97 .6 .43][color:"); output = output.concat(part7); output = output.concat(";.93 .7 .47][color:"); output = output.concat(part8); output = output.concat(";.93 .8 .47][color:"); output = output.concat(part9); output = output.concat(";.93 .85 .5][color:"); output = output.concat(part10); output = output.concat(";.9 .9 .5][color:"); output = output.concat(part11); output = output.concat(";.9 1 .5]\n\n"); System.out.println("~~~salmon & spring green~~~"); System.out.println(output); input = "Testing this one some more to see the full color range~"; /** 1234567890 234567890 234567890 234567890 234567890 2345**/ part1 = input.substring(0, 5); part2 = input.substring(5, 10); part3 = input.substring(10, 15); part4 = input.substring(15, 20); part5 = input.substring(20, 25); part6 = input.substring(25, 30); part7 = input.substring(30, 35); part8 = input.substring(35, 40); part9 = input.substring(40, 45); part10 = input.substring(45, 50); part11 = input.substring(50, 55); output = "[color:".concat(part1); output = output.concat(";.5 .5 .5][color:"); output = output.concat(part2); output = output.concat(";.5 .53 .55][color:"); output = output.concat(part3); output = output.concat(";.5 .57 .6][color:"); output = output.concat(part4); output = output.concat(";.5 .6 .65][color:"); output = output.concat(part5); output = output.concat(";.5 .63 .7][color:"); output = output.concat(part6); output = output.concat(";.5 .67 .75][color:"); output = output.concat(part7); output = output.concat(";.5 .7 .8][color:"); output = output.concat(part8); output = output.concat(";.5 .75 .85][color:"); output = output.concat(part9); output = output.concat(";.5 .8 .9][color:"); output = output.concat(part10); output = output.concat(";.5 .85 .95][color:"); output = output.concat(part11); output = output.concat(";.5 .9 1]\n\n"); System.out.println("~~~gray & blue~~~"); System.out.println(output); } } |
|