Set maximun and minimum values of RGB by integer