i work now with GD library on PHP and i'm trying to get the pixel color name ,i mean : green , red , blue , etc...
i'm getting the color this way :
$rgb = ImageColorAt($image, $X, $y);
$r = ($rgb >> 16) & 0xFF ;
$g = ($rgb >> 8) & 0xFF;
$b = $rgb & 0xFF;
now , how can i find it this color is green light , dark blue , normal blue or red and etc..