Added method into ColorCodes to apply formatting