One color to category link depending on category ID
I would like to style a category link depending on its ID, for instance, if the category ID is 2, then I want the link to be pink.
I cannot find a way to do the same thing to links. What type of solutions are available? Please be detailed in your reply as my coding knowledge is limited. Thanks a lot 🙂