imagecolorsforindex

PHP 4, PHP 5, PHP 7, PHP 8
imagecolorsforindex - Get the colors for an index
Manual
Code Examples

Example #1 imagecolorsforindex example

Result: Array ( [red] => 226 [green] => 222 [blue] => 252 [alpha] => 0 )
PHP Version:


Function imagecolorsforindex:

Image Processing and GD Functions

Most used PHP functions