Improvements made on function colorRgbGenerator and opacity added to each color code