Differentiate two colors based on intensity? [closed]

asked 2016-07-01 21:13:09 -0600

How can I differentiate two colors depending on its brightness?

for example: The green pedestrian indicator vs the restaurant's signings. image description

Can this also be differentiate? The red pedestrian indicator vs the backlight of a car? image description

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-13 14:06:57.412032

Comments

If color values are equal that's not possible. You have to use context value like stability in time :light change from red to greensome light are moving and some not...

LBerger gravatar imageLBerger ( 2016-07-02 01:47:55 -0600 )edit