Implemented a Color class