Review the function ´getColorAt´. Should have some calculation mistake. The brightness don't seems good.