Color class implemented