Edited Color.java to be inheritable