updateded color.java to be more original code