use GD; $i = new GD::Image( 153, 153, ); $i->colorAllocate( 200, 200, 200 );