Hello @Basma Cassidy ,
You apply colour formatting to a List based on value in cell using JQuery code.
Please follow steps:
1.Go to SharePoint List, create a Choice column.
2.Click on settings icon under the Upper right corner, and then click on Edit page.
3.Add the Script Editor web part, and then click on EDIT SNIPPET.
4.Paste in code as shown below then click Insert.
5.Stop Editing
Thanks,
Echo Du
===================
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.