Hi,
I typically don't have issues with arcade expressions but for some reason this one is returning the error message: "Unable to execute arcade script for Feature ObjectedID 0"
function GetPctColor(P){
var Color = When(
P >= 0 && P < 5,'#d01111',
P >= 5 && P < 10,'#cc2211',
P >= 10 && P < 15,'#c83311',
P >= 15 && P < 20,'#c34211',
P >= 20 && P < 25,'#bf5112',
P >= 25 && P < 30,'#bb5f12',