porting Graphics::ColorObject to PDL