Forum Discussion
Dave0673
Aug 07, 2019Copper Contributor
Quick question: Can I add custom colors to the View Formatting?
Edit: This is on Sharepoint Online using modern experience. I have custom JSON in a list to color code the row based on one column. The only colors I have been able to make work are the colors fr...
Thomas Berman
Aug 08, 2019Iron Contributor
Take a look at this section of the column formatting documentation. It looks like you can add a "style" property where you can add properties like "color" or (presumably) "background-color"
https://docs.microsoft.com/en-gb/sharepoint/dev/declarative-customization/column-formatting#apply-formatting-based-on-date-ranges