Module:Chart/Default colors: Difference between revisions
Appearance
Content deleted Content added
Default color scheme for partial compatibility (resembles Template:Pie chart defaults) but distinguishability (as explained in Help:Distinguishable colors) |
Come to think of it, let's go for full 100% reverse compatibility and see if the contrasts with others are really a problem |
||
Line 1: | Line 1: | ||
return {'red',' |
return {'red','red', |
||
'blue',' |
'blue','blue', |
||
'green',' |
'green','green', |
||
'yellow',' |
'yellow','yellow', |
||
' |
'fuchsia','fuchsia', |
||
' |
'aqua','aqua', |
||
' |
'brown','brown', |
||
' |
'orange','orange', |
||
' |
'purple','purple', |
||
' |
'sienna','sienna', |
||
'amethyst','#F0A3FF', |
'amethyst','#F0A3FF', |
Revision as of 20:11, 5 April 2013
![]() | This Lua module is used on approximately 2,700 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
return {'red','red',
'blue','blue',
'green','green',
'yellow','yellow',
'fuchsia','fuchsia',
'aqua','aqua',
'brown','brown',
'orange','orange',
'purple','purple',
'sienna','sienna',
'amethyst','#F0A3FF',
'ebony','#191919',
'forest','#005C31',
'honeydew','#FFCC99',
'iron','#808080',
'khaki','#8F7C00',
'lime','#9DCC00',
'navy','#003380',
'pink','#FFA8BB',
'quagmire','#426600',
'sky','#5EF1F2',
'turquoise','#00998F',
'uranium','#E0FF66',
'violet','#740AFF',
'xanthin','#FFFF80',
'zinnia','#FF5005'}