Module:RFX report/colour
Appearance
Data table used by Module:RFX report to determine what color to show for a given percentage support.
local colours = {
rfa = {
[0] = 'f2f2f2',
[1] = 'ff3c3c',
[2] = 'ff3c3c',
[3] = 'ff3e3d',
[4] = 'ff403e',
[5] = 'ff423f',
[6] = 'ff4440',
[7] = 'ff4641',
[8] = 'ff4842',
[9] = 'ff4a43',
[10] = 'ff4c44',
[11] = 'ff4e45',
[12] = 'ff5046',
[13] = 'ff5247',
[14] = 'ff5448',
[15] = 'ff5649',
[16] = 'ff584a',
[17] = 'ff5a4b',
[18] = 'ff5c4c',
[19] = 'ff5e4d',
[20] = 'ff604e',
[21] = 'ff624f',
[22] = 'ff6450',
[23] = 'ff6651',
[24] = 'ff6852',
[25] = 'ff6a53',
[26] = 'ff6c54',
[27] = 'ff6e55',
[28] = 'ff7056',
[29] = 'ff7257',
[30] = 'ff7458',
[31] = 'ff7659',
[32] = 'ff785a',
[33] = 'ff7a5b',
[34] = 'ff7c5c',
[35] = 'ff7e5d',
[36] = 'ff805e',
[37] = 'ff825f',
[38] = 'ff8460',
[39] = 'ff8661',
[40] = 'ff8862',
[41] = 'ff8a63',
[42] = 'ff8c64',
[43] = 'ff8e65',
[44] = 'ff9066',
[45] = 'ff9267',
[46] = 'ff9468',
[47] = 'ff9669',
[48] = 'ff986a',
[49] = 'ff9a6b',
[50] = 'ff9c6c',
[51] = 'ff9e6d',
[52] = 'ffa06e',
[53] = 'ffa26f',
[54] = 'ffa470',
[55] = 'ffa671',
[56] = 'ffa872',
[57] = 'ffaa73',
[58] = 'ffac74',
[59] = 'ffae75',
[60] = 'ffb076',
[61] = 'ffb277',
[62] = 'ffb478',
[63] = 'ffb679',
[64] = 'ffb87a',
[65] = 'ffba7b',
[66] = 'ffbc7c',
[67] = 'ffbe7d',
[68] = 'ffc07e',
[69] = 'ffc27f',
[70] = 'ffffbb',
[71] = 'fcffbb',
[72] = 'f9ffbb',
[73] = 'f6ffbb',
[74] = 'f3ffbb',
[75] = 'f0ffbb',
[76] = 'edffbb',
[77] = 'eaffbb',
[78] = 'e7ffbb',
[79] = 'e4ffbb',
[80] = 'e1ffbb',
[81] = 'deffbb',
[82] = 'dbffbb',
[83] = 'd8ffbb',
[84] = 'd5ffbb',
[85] = 'd2ffbb',
[86] = 'cfffbb',
[87] = 'ccffbb',
[88] = 'c9ffbb',
[89] = 'c6ffbb',
[90] = 'c3ffbb',
[91] = 'c0ffbb',
[92] = 'bdffbb',
[93] = 'baffbb',
[94] = 'b7ffbb',
[95] = 'b4ffbb',
[96] = 'b1ffbb',
[97] = 'aeffbb',
[98] = 'abffbb',
[99] = 'a8ffbb',
[100] = 'a5ffbb'
},
rfb = {
[0] = 'f2f2f2',
[1] = 'ff3d3c',
[2] = 'ff3f3d',
[3] = 'ff403e',
[4] = 'ff423f',
[5] = 'ff433f',
[6] = 'ff4540',
[7] = 'ff4741',
[8] = 'ff4842',
[9] = 'ff4a43',
[10] = 'ff4b43',
[11] = 'ff4d44',
[12] = 'ff4e45',
[13] = 'ff5046',
[14] = 'ff5247',
[15] = 'ff5347',
[16] = 'ff5548',
[17] = 'ff5649',
[18] = 'ff584a',
[19] = 'ff594a',
[20] = 'ff5b4b',
[21] = 'ff5d4c',
[22] = 'ff5e4d',
[23] = 'ff604e',
[24] = 'ff614e',
[25] = 'ff634f',
[26] = 'ff6450',
[27] = 'ff6651',
[28] = 'ff6852',
[29] = 'ff6952',
[30] = 'ff6b53',
[31] = 'ff6c54',
[32] = 'ff6e55',
[33] = 'ff7056',
[34] = 'ff7156',
[35] = 'ff7357',
[36] = 'ff7458',
[37] = 'ff7659',
[38] = 'ff7759',
[39] = 'ff795a',
[40] = 'ff7b5b',
[41] = 'ff7c5c',
[42] = 'ff7e5d',
[43] = 'ff7f5d',
[44] = 'ff815e',
[45] = 'ff825f',
[46] = 'ff8460',
[47] = 'ff8661',
[48] = 'ff8761',
[49] = 'ff8962',
[50] = 'ff8a63',
[51] = 'ff8c64',
[52] = 'ff8d64',
[53] = 'ff8f65',
[54] = 'ff9166',
[55] = 'ff9267',
[56] = 'ff9468',
[57] = 'ff9568',
[58] = 'ff9769',
[59] = 'ff996a',
[60] = 'ff9a6b',
[61] = 'ff9c6c',
[62] = 'ff9d6c',
[63] = 'ff9f6d',
[64] = 'ffa06e',
[65] = 'ffa26f',
[66] = 'ffa470',
[67] = 'ffa570',
[68] = 'ffa771',
[69] = 'ffa872',
[70] = 'ffaa73',
[71] = 'ffab73',
[72] = 'ffad74',
[73] = 'ffaf75',
[74] = 'ffb076',
[75] = 'ffb277',
[76] = 'ffb377',
[77] = 'ffb578',
[78] = 'ffb679',
[79] = 'ffb87a',
[80] = 'ffba7b',
[81] = 'ffbb7b',
[82] = 'ffbd7c',
[83] = 'ffbe7d',
[84] = 'ffc07e',
[85] = 'ffc27f',
[86] = 'ffffbb',
[87] = 'f9ffbb',
[88] = 'f3ffbb',
[89] = 'edffbb',
[90] = 'e7ffbb',
[91] = 'e1ffbb',
[92] = 'dbffbb',
[93] = 'd5ffbb',
[94] = 'cfffbb',
[95] = 'c9ffbb',
[96] = 'c3ffbb',
[97] = 'bdffbb',
[98] = 'b7ffbb',
[99] = 'b1ffbb',
[100] = 'abffbb'
}
}
return colours