check for nonegativity of maxSymbolicColors
enable grey output, change rgb to RGB, refactor a bit