[{"data":1,"prerenderedAt":283},["ShallowReactive",2],{"/palette/scale-gradient":3,"/palette/scale-gradient-surround":272},{"id":4,"title":5,"body":6,"description":239,"extension":240,"meta":241,"navigation":258,"path":268,"seo":269,"stem":270,"__hash__":271},"content/palette/scale-gradient.md","Palette Extension Dictionary: scale-gradient",{"type":7,"value":8,"toc":228},"minimark",[9],[10,11,15,16,15,26,57,86,101,124,143,146],"div",{"className":12,"id":14},[13],"dict_entry","scale-gradient","\n  ",[17,18,20,21,15],"h3",{"id":19},"palettescale-gradient","\n    ",[22,23,25],"a",{"href":24},"#scale-gradient","palette:scale-gradient",[27,28,32],"h4",{"id":29,"className":30},"palettescale-gradient-rgb-color-list-number-range1-range2",[31],"section-heading",[22,33,20,37,15],{"className":34,"href":36},[35],"section-anchor","#----palettescale-gradient-rgb-color-list-number-range1-range2--",[38,39,42,43,47,48,47,51,47,54],"span",{"className":40},[41],"prim_example","palette:scale-gradient ",[44,45,46],"i",{},"rgb-color-list"," ",[44,49,50],{},"number",[44,52,53],{},"range1",[44,55,56],{},"range2",[58,59,60,61,64,65,67,68,70,71,85],"p",{},"Reports an RGB color proportional to ",[62,63,50],"em",{}," using a gradient generated with ",[62,66,46],{},". The ",[62,69,46],{}," is a list containing NL or RGB colors: e.g. ",[38,72,73,74,77,78,47,81,84],{},"NL1 ",[38,75,76],{},"r1 g1 b1","  ",[38,79,80],{},"r2 g2 b2",[38,82,83],{},"r3 g3 b3"," NL2 …",".",[58,87,88,89,91,92,94,95,97,98,100],{},"When ",[62,90,53],{}," is less than or equal to ",[62,93,56],{},", the color will be directly mapped to gradient colors. When ",[62,96,56],{}," is less than ",[62,99,53],{},", the color gradient is inverted.",[58,102,103,104,107,108,110,111,113,114,91,116,118,119,121,122,85],{},"Let ",[62,105,106],{},"min-range"," be the minimum of ",[62,109,53],{}," and ",[62,112,56],{},". If ",[62,115,50],{},[62,117,106],{},", then the result is the same as if ",[62,120,50],{}," was equal to ",[62,123,106],{},[58,125,103,126,129,130,110,132,113,134,136,137,118,139,121,141,85],{},[62,127,128],{},"max-range"," be the maximum of ",[62,131,53],{},[62,133,56],{},[62,135,50],{}," is greater than ",[62,138,128],{},[62,140,50],{},[62,142,128],{},[58,144,145],{},"Example:",[147,148,149],"pre",{},[150,151,152,47,158,163,166,167,77,169,47,173,47,177,181,182,47,186,47,190,193,194,47,197,47,200,203,204,47,208,47,212,216,218,219,221,223],"code",{},[38,153,157],{"className":154},[155,156],"token","command","ask",[38,159,162],{"className":160},[155,161],"reporter","patches",[164,165],"br",{},"[",[164,168],{},[38,170,172],{"className":171},[155,156],"set",[38,174,176],{"className":175},[155,161],"pcolor",[38,178,25],{"className":179},[155,180],"variable"," [[",[38,183,185],{"className":184},[155,50],"255",[38,187,189],{"className":188},[155,50],"0",[38,191,189],{"className":192},[155,50],"] [",[38,195,189],{"className":196},[155,50],[38,198,189],{"className":199},[155,50],[38,201,185],{"className":202},[155,50],"]] ",[38,205,207],{"className":206},[155,161],"pxcor",[38,209,211],{"className":210},[155,161],"min-pxcor",[38,213,215],{"className":214},[155,161],"max-pxcor",[164,217],{},"]",[164,220],{},[164,222],{},[38,224,227],{"className":225},[155,226],"comment",";; colors each patch with a color proportional to the gradient",{"title":229,"searchDepth":230,"depth":231,"links":232},"",5,3,[233],{"id":19,"depth":231,"text":234,"children":235},"\n    palette:scale-gradient\n  ",[236],{"id":29,"depth":237,"text":238},4,"\n    palette:scale-gradient rgb-color-list number range1 range2\n  ","Documentation for the scale-gradient primitive.","md",{"source":242,"metadataOutputPath":243,"projectConfig":244,"language":251,"inheritFrom":259,"output":258,"version":245,"layout":260,"dictionaryDisplayName":261,"dictionaryHomeDirectory":262,"indexFileURI":263,"currentItemId":14,"currentItemLabel":25,"primRoot":264,"icon":265,"extensionName":266,"assetsRoot":246},"../../external/extensions/palette/palette/scale-gradient.md","content/palette/scale-gradient.metadata.yaml",{"version":245,"projectRoot":85,"scanRoot":246,"outputRoot":247,"defaults":248,"engine":254,"partials":255,"dedupeIdenticalDiskWrites":258},"7.0.4","/home/runner/work/Helio/Helio/external/extensions/palette","content",{"inheritFrom":249,"language":251,"output":252,"extension":240,"title":253,"version":245},[250],0,"en",false,"NetLogo User Manual","mustache",{"directoryPaths":256,"extensions":257},[85],[254,240],true,[250],"catalog","Palette Extension Dictionary","/palette.html","/_index/extensions/palette.txt","palette","i-lets-icons-color-mode",{"shortName":264,"fullName":267},"Palette","/palette/scale-gradient",{"title":5,"description":239},"palette/scale-gradient","qnhanS0MVU0bgjPk_2iZr46jhLGE0DEgMFbuv1Ea0Wc",[273,278],{"title":274,"path":275,"stem":276,"description":277},"Palette Extension Dictionary: saturation-of","/palette/saturation-of","palette/saturation-of","Documentation for the saturation-of primitive.",{"title":279,"path":280,"stem":281,"description":282},"Palette Extension Dictionary: scale-gradient-hsb","/palette/scale-gradient-hsb","palette/scale-gradient-hsb","Documentation for the scale-gradient-hsb primitive.",1777657891726]