Reorder parameters
Fix color range (should go up to 255)