fix 16 color palette

This commit is contained in:
Gordon Shumway 2019-06-25 22:42:44 -04:00 committed by GitHub
parent acf51a5b2f
commit 88365f4dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 15 deletions

View File

@ -228,22 +228,22 @@ class ASCII(callbacks.Plugin):
(89.8837, 0.0048, -0.0094):97,
(100.0, 0.0053, -0.0104):98}
self.colors16 = {
(85.4811, -2.7938, 3.458):0,
(21.2194, -2.0529, -2.139):1,
(42.3349, 4.648, -38.8664):2,
(56.8252, -45.329, 58.1352):3,
(42.5172, 67.7098, 56.8158):4,
(35.5382, 34.1518, 45.9469):5,
(28.8526, 26.5659, -21.8027):6,
(52.7036, 41.5535, 61.8617):7,
(100.0, 0.0053, -0.0104):0,
(0.0, 0.0, 0.0):1,
(12.8119, 47.2407, -64.3396):2,
(52.8041, -57.1624, 55.1703):3,
(53.2329, 80.1093, 67.2201):4,
(25.2966, 47.7847, 37.7562):5,
(36.8705, 68.0659, -42.1489):6,
(66.4237, 42.1616, 73.4335):7,
(97.1382, -21.5559, 94.4825):8,
(75.9439, -54.8907, 72.1325):9,
(61.2247, -47.4179, 14.2906):10,
(61.6532, -23.7895, -5.0286):11,
(49.7012, -1.8169, -23.6763):12,
(41.8876, 42.0835, -0.4542):13,
(36.6913, -1.6453, 2.0378): 14,
(56.8986, -1.1458, 2.0047):15}
(86.8105, -85.4149, 82.4382):9,
(55.0455, -31.8888, -9.3772):10,
(91.1165, -48.0796, -14.1381):11,
(31.8712, 78.4892, -106.9003):12,
(60.3199, 98.2542, -60.843):13,
(53.1928, 0.0029, -0.0061):14,
(84.1985, 0.0045, -0.0089):15,
def doPrivmsg(self, irc, msg):
channel = msg.args[0]