Mix sugar, oil and vinegar. Chop onions and peppers, combine beans, onions and peppers, pour sugar and oil over ingredients, mix well. Refrigerate, stirring now and then. Better when left overnight.