{{ListoFonkoloro}} provides various alternate colors for a set of stripes, cells ... The result gives values following r,g,b, syntax usable in style definition as:

style="background-color:rgb(171,160,255);" 

{{Listokolorĉelo}} provides a cell which background color is defined by {{ListoFonkoloro}}.

syntax
{{ListoFonkoloro|<rank>|<items number>|<middle color value def: 195>|<max difference def: 60> }}
{{Listokolorĉelo|<rank>|<items number>|contain}}
parameters
  • middle color value: colors are defined by three values respectively for red green and blue from 0 to 255. Default the sequence is evolving about 195. Changing the value to a lesser value one get darker colors, to higher heller.
  • max difference: the sequence goes from the middle value to the same plus or minus an other value up to a maximum value (default 60). With higher value you get more contrast, with lesser softer. Pay attention in every case you must have:
    • middle value + max difference < 256
    • middle value - max difference >= 0

Usage

edit
 {{ListoFonkoloro|1|6}}
 {{ListoFonkoloro|2|6}}
 {{ListoFonkoloro|3|6}}
 {{ListoFonkoloro|4|6}}
 {{ListoFonkoloro|5|6}}
 {{ListoFonkoloro|6|6}}

results

230,135,219
135,230,219
135,219,230
230,219,135
219,230,135
219,135,230
Usage
6 items
1 2 3 4 5 6
Serie of 20 cells with different middle and maximum additional values
240 ± 15 (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:)
225 ± 30 (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:)
195 ± 60 (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:)
127 ± 128 (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:)
120 ± 80 (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:)
120 ± 20 (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:)
80 ± 30 (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:)
50 ± 50 (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:) (:-:)