moved color management in own class to support more colors than default ones