Added gr_inqcolorfromrgb function

Change-Id: I19f97ec3b38758310695f1caeb70b2af93b22b3b
Reviewed-on: https://iffwww.iff.kfa-juelich.de/review/22
Reviewed-by: Josef Heinen <j.heinen@fz-juelich.de>