మూస:BrewerColors/doc
This template uses Lua: |
This template shows the Brewer colors. Based on specifications and designs developed by Cynthia Brewer ([1]). These color palettes can be used for statistical diagrams and for maps.
To translate or review the translation of the module to your language, edit carefully Data:I18n/BrewerColors.tab.
Syntax
మార్చు{{BrewerColors|color palette|number of colors|show the color number}}
The number of colors must be from 3 to 9 or 12, according to the palette.
Show the color number is an optional parameter, with two values: '-' the color number and 'a' with the degree of transparency (alpha channel) added at the end of the number and always it will be 'ff'. It is only interesting to add the color for the map coloring.
Brewers color palettes
మార్చుValid names and full color representation for each palette. Moving the mouse cursor over each box the color number appears.
- YlGn
Script error: No such module "BrewerColors". - YlGnBu
Script error: No such module "BrewerColors". - GnBu
Script error: No such module "BrewerColors". - BuGn
Script error: No such module "BrewerColors". - PuBuGn
Script error: No such module "BrewerColors". - PuBu
Script error: No such module "BrewerColors". - BuPu
Script error: No such module "BrewerColors". - RdPu
Script error: No such module "BrewerColors". - PuRd
Script error: No such module "BrewerColors". - OrRd
Script error: No such module "BrewerColors". - YlOrRd
Script error: No such module "BrewerColors". - YlOrBr
Script error: No such module "BrewerColors". - Purples
Script error: No such module "BrewerColors". - Blues
Script error: No such module "BrewerColors". - Greens
Script error: No such module "BrewerColors". - Oranges
Script error: No such module "BrewerColors". - Reds
Script error: No such module "BrewerColors". - Greys
Script error: No such module "BrewerColors".
- PuOr
Script error: No such module "BrewerColors". - BrBG
Script error: No such module "BrewerColors". - PRGn
Script error: No such module "BrewerColors". - PiYG
Script error: No such module "BrewerColors". - RdBu
Script error: No such module "BrewerColors". - RdGy
Script error: No such module "BrewerColors". - RdYlBu
Script error: No such module "BrewerColors". - Spectral
Script error: No such module "BrewerColors". - RdYlGn
Script error: No such module "BrewerColors".
- Accent
Script error: No such module "BrewerColors". - Dark2
Script error: No such module "BrewerColors". - Paired
Script error: No such module "BrewerColors". - Pastel1
Script error: No such module "BrewerColors". - Pastel2
Script error: No such module "BrewerColors". - Set1
Script error: No such module "BrewerColors". - Set2
Script error: No such module "BrewerColors". - Set3
Script error: No such module "BrewerColors".
Template data
మార్చుTemplateData for BrewerColors
Show colors of Brewer palettes
పరామితి | వివరణ | రకం | స్థితి | |
---|---|---|---|---|
Palette name | 1 | Name of the palette to use | లైను | తప్పనిసరి |
Number of colors | 2 | The number of colors to show on the palette, from 3 to 9/12 | సంఖ్య | తప్పనిసరి |
Show color number | 3 | Write the color number after the box: - (only number) or (with alpha channel) | సంఖ్య | ఐచ్చికం |
Examples
మార్చుCode | Result |
---|---|
{{BrewerColors|Greens|3}} |
Script error: No such module "BrewerColors". |
{{BrewerColors|Greens_i|3}} |
Script error: No such module "BrewerColors". |
{{BrewerColors|Set1|8}} |
Script error: No such module "BrewerColors". |
{{BrewerColors|Accent|4|-}} |
Script error: No such module "BrewerColors". |
{{BrewerColors|Accent|4|a}} |
Script error: No such module "BrewerColors". |
See also
మార్చు- {{ChartColors}}
- {{BrewerColorLegends}}