From d632b6b00a04be57ce9a81601dfde1c3f591bcbf Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Sun, 3 Feb 2013 15:03:50 +0100 Subject: [PATCH] readme update --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 991c7560..56b5dc26 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,7 @@ $img->fill('ccc'); // its possible to use shorthand hexcolor $img->fill('cccccc'); // or full hexcolor code $img->fill('#ccc'); // with or without # $img->fill('#cccccc'); +$img->fill('rgba(255, 0, 0, 0.5)'); // define transparent colors as rgba format $img->fill(array(204, 204, 204)); // or just pass the color as rgb format array // save image in desired format