color generation working