<div>Hi NCL experts,</div><div><br></div><div>In the NCL Bar Chart, one can easily control the colors of the bar by using Named Color for "gsnXYBarChartColors".</div><div>However, below errors occurs if I use the RGB array for <span style="line-height: 16.8px;">"gsnXYBarChartColors</span><span style="line-height: 16.8px;">"</span>:</div><div><br></div><div><div><font color="#0000ff">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>convert_color_to_rgba: Error: unknown color type.</font></div><div><font color="#0000ff">(0)<span class="Apple-tab-span" style="white-space:pre">      </span>   Returning all missing values.</font></div><div><font color="#0000ff">warning:_NhlGetGksCi:Invalid Color index=-1073741824</font></div><div><font color="#0000ff">warning:_NhlGetGksCi:Invalid Color index=-1073741824</font></div><div><font color="#0000ff">warning:_NhlGetGksCi:Invalid Color index=-1073741824</font></div><div><font color="#0000ff">warning:_NhlGetGksCi:Invalid Color index=-1073741824</font></div><div><font color="#0000ff">warning:_NhlGetGksCi:Invalid Color index=-1073741824</font></div><div><font color="#0000ff">warning:_NhlGetGksCi:Invalid Color index=-1073741824</font></div></div><div><font color="#ff6600"><br></font></div><div>To show my question better I wrote a simple test script, which is attached here. <span style="line-height: 1.5;">It works using named color but fail when RGB array is used for </span><span style="line-height: 16.8px;">gsnXYBarChartColors. </span></div><div><span style="line-height: 16.8px;">Does anyone can tell me how can I use self-defined color (with RGB values) for colors of Bar Chart?</span></div><div><span style="line-height: 16.8px;"></span></div><div><span style="line-height: 16.8px;"><br></span></div><div><span style="line-height: 16.8px;">Thanks in advance.</span></div><div><span style="line-height: 16.8px;"><br></span></div><div><span style="line-height: 16.8px;">Jie Wu</span></div><div><font color="#ff6600"><br></font></div>