.. highlightlang:: us .. index:: ColorScale_GetColors .. _colorscale_getcolors: ColorScale_GetColors ==================== .. us.tag ColorScale_GetColors ENGLISH New5600 :ref:`ColorScale_GetColors` returns a matrix with colors. .. function:: rmColors = ColorScale_GetColors(ssColorScaleName, nColors) .. us.return **Return Value** *rmColors* is a real matrix with three columns. .. list-table:: :header-rows: 1 * - Value - Meaning * - rmColors[1;] - Red (0 to 255) * - rmColors[2;] - Green (0 to 255) * - rmColors[3;] - Blue (0 to 255) .. us.params **Parameters** .. uparam:: ssColorScaleName Is one of the following names: Accent, Blues, BrBG, BuGn, BuPu, Dark2, GnBu, Greens, Greys, OrRd, Oranges, PRGn, Paired, Pastel1, Pastel2, PiYG, PuBu, PuBuGn, PuOr, PuRd, Purples, RdBu, RdGy, RdPu, RdYlBu, RdYlGn, Reds, Set1, Set2, Set3, Spectral, YlGn, YlGnBu, YlOrBr, YlOrRd .. image:: S:/uniplot-obj/images/colormaplist.* .. uparam:: nColors Sets the number of colors in the return value. .. seealso:: :ref:`ColorScale_GetNames` :sub:`id-970650`