Update Algorithms.java

Add parse color