The page is not customisable and so it is not possible to achieve the color coding using a custom script. However, by default, you can see the color coding on the sidebar based on priority as:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article