new function: getColorOfArticle