Color class implemented.