Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Colour Palettes
colours = [(255.0, 245.0, 250.0),
(255.0, 244.0, 253.0),
(253.0, 244.0, 255.0),
(249.0, 244.0, 255.0),
(244.0, 243.0, 255.0),
(243.0, 245.0, 255.0),
(242.0, 249.0, 255.0),
(242.0, 253.0, 254.0),
(242.0, 254.0, 251.0),
(241.0, 254.0, 246.0),
(241.0, 254.0, 241.0),
(245.0, 254.0, 240.0),
(249.0, 254.0, 240.0),
(254.0, 254.0, 240.0),
(254.0, 249.0, 239.0),
(254.0, 244.0, 239.0),
(253.0, 239.0, 239.0),
(253.0, 238.0, 244.0),
(253.0, 238.0, 249.0),
(252.0, 238.0, 253.0),
(246.0, 237.0, 253.0),
(241.0, 237.0, 253.0),
(237.0, 238.0, 252.0),
(236.0, 244.0, 252.0),
(236.0, 249.0, 252.0),
(236.0, 252.0, 249.0),
(235.0, 252.0, 244.0),
(235.0, 251.0, 238.0),
(238.0, 251.0, 235.0),
(243.0, 251.0, 235.0),
(249.0, 251.0, 234.0),
(251.0, 247.0, 234.0),
(250.0, 241.0, 234.0),
(250.0, 235.0, 234.0),
(250.0, 233.0, 238.0),
(250.0, 233.0, 243.0),
(249.0, 233.0, 248.0),
(244.0, 233.0, 249.0),
(238.0, 232.0, 249.0),
(232.0, 232.0, 248.0),
(232.0, 237.0, 248.0),
(232.0, 243.0, 248.0),
(232.0, 248.0, 247.0),
(231.0, 247.0, 241.0),
(231.0, 247.0, 236.0),
(232.0, 247.0, 231.0),
(237.0, 246.0, 231.0),
(242.0, 246.0, 231.0),
(246.0, 244.0, 230.0),
(245.0, 239.0, 230.0),
(245.0, 233.0, 230.0),
(245.0, 230.0, 232.0),
(244.0, 230.0, 237.0),
(244.0, 230.0, 242.0),
(241.0, 230.0, 244.0),
(236.0, 229.0, 243.0),
(231.0, 229.0, 243.0),
(229.0, 232.0, 243.0),
(229.0, 236.0, 242.0),
(229.0, 241.0, 242.0),
(229.0, 241.0, 238.0),
(229.0, 241.0, 234.0),
(229.0, 241.0, 229.0),
(228.0, 240.0, 229.0),
(228.0, 240.0, 231.0),
(228.0, 240.0, 233.0),
(227.0, 240.0, 235.0),
(227.0, 240.0, 237.0),
(227.0, 239.0, 239.0),
(226.0, 237.0, 239.0),
(226.0, 235.0, 239.0),
(225.0, 232.0, 239.0),
(225.0, 229.0, 239.0),
(225.0, 226.0, 238.0),
(225.0, 224.0, 238.0),
(227.0, 224.0, 238.0),
(230.0, 224.0, 238.0),
(232.0, 223.0, 238.0),
(234.0, 223.0, 237.0),
(237.0, 222.0, 237.0),
(237.0, 222.0, 235.0),
(237.0, 222.0, 232.0),
(237.0, 221.0, 229.0),
(236.0, 221.0, 226.0),
(236.0, 221.0, 222.0),
(236.0, 221.0, 220.0),
(236.0, 224.0, 220.0),
(236.0, 226.0, 219.0),
(235.0, 229.0, 219.0),
(235.0, 232.0, 219.0),
(235.0, 235.0, 218.0),
(232.0, 235.0, 218.0),
(229.0, 235.0, 218.0),
(225.0, 234.0, 217.0),
(222.0, 234.0, 217.0),
(218.0, 234.0, 216.0),
(216.0, 234.0, 217.0),
(216.0, 234.0, 220.0),
(215.0, 233.0, 223.0),
(215.0, 233.0, 226.0),
(215.0, 233.0, 229.0),
(214.0, 233.0, 233.0),
(214.0, 230.0, 233.0),
(213.0, 226.0, 232.0),
(213.0, 222.0, 232.0),
(213.0, 218.0, 232.0),
(212.0, 214.0, 232.0),
(213.0, 212.0, 232.0),
(217.0, 212.0, 231.0),
(220.0, 211.0, 231.0),
(223.0, 211.0, 231.0),
(227.0, 210.0, 231.0),
(230.0, 210.0, 231.0),
(231.0, 210.0, 227.0),
(230.0, 209.0, 223.0),
(230.0, 209.0, 219.0),
(230.0, 209.0, 215.0),
(230.0, 208.0, 210.0),
(230.0, 210.0, 208.0),
(229.0, 213.0, 207.0),
(229.0, 217.0, 207.0),
(229.0, 221.0, 207.0),
(229.0, 225.0, 206.0),
(229.0, 229.0, 206.0),
(224.0, 228.0, 206.0),
(220.0, 228.0, 205.0),
(218.0, 228.0, 205.0),
(215.0, 228.0, 204.0),
(213.0, 228.0, 203.0),
(210.0, 227.0, 203.0),
(207.0, 227.0, 202.0),
(204.0, 227.0, 201.0),
(201.0, 227.0, 201.0),
(200.0, 227.0, 202.0),
(200.0, 226.0, 204.0),
(199.0, 226.0, 206.0),
(198.0, 226.0, 208.0),
(198.0, 226.0, 210.0),
(197.0, 226.0, 213.0),
(196.0, 225.0, 215.0),
(196.0, 225.0, 217.0),
(195.0, 225.0, 220.0),
(195.0, 225.0, 222.0),
(194.0, 224.0, 225.0),
(193.0, 221.0, 224.0),
(193.0, 218.0, 224.0),
(192.0, 215.0, 224.0),
(191.0, 212.0, 224.0),
(191.0, 208.0, 224.0),
(190.0, 205.0, 224.0),
(189.0, 201.0, 223.0),
(189.0, 198.0, 223.0),
(188.0, 194.0, 223.0),
(188.0, 190.0, 223.0),
(188.0, 187.0, 223.0),
(190.0, 186.0, 223.0),
(193.0, 186.0, 222.0),
(196.0, 185.0, 222.0),
(199.0, 184.0, 222.0),
(202.0, 184.0, 222.0),
(205.0, 183.0, 222.0),
(209.0, 182.0, 222.0),
(212.0, 182.0, 221.0),
(215.0, 181.0, 221.0),
(219.0, 180.0, 221.0),
(221.0, 180.0, 219.0),
(221.0, 179.0, 215.0),
(221.0, 178.0, 211.0),
(221.0, 178.0, 207.0),
(220.0, 177.0, 203.0),
(220.0, 176.0, 198.0),
(220.0, 176.0, 194.0),
(220.0, 175.0, 189.0),
(220.0, 174.0, 184.0),
(220.0, 174.0, 180.0),
(220.0, 173.0, 175.0),
(219.0, 175.0, 172.0),
(219.0, 179.0, 172.0),
(219.0, 182.0, 171.0),
(219.0, 186.0, 170.0),
(219.0, 190.0, 169.0),
(219.0, 195.0, 169.0),
(219.0, 199.0, 168.0),
(219.0, 203.0, 167.0),
(218.0, 208.0, 167.0),
(218.0, 212.0, 166.0),
(218.0, 217.0, 165.0),
(214.0, 218.0, 165.0),
(212.0, 218.0, 164.0),
(211.0, 218.0, 163.0),
(209.0, 217.0, 162.0),
(207.0, 217.0, 162.0),
(206.0, 217.0, 161.0),
(204.0, 217.0, 160.0),
(202.0, 217.0, 159.0),
(201.0, 216.0, 158.0),
(199.0, 216.0, 158.0),
(197.0, 216.0, 157.0),
(195.0, 216.0, 156.0),
(193.0, 215.0, 155.0),
(191.0, 215.0, 155.0),
(190.0, 215.0, 154.0),
(188.0, 215.0, 153.0),
(186.0, 215.0, 152.0),
(184.0, 214.0, 152.0),
(182.0, 214.0, 151.0),
(180.0, 214.0, 150.0),
(178.0, 214.0, 149.0),
(175.0, 214.0, 148.0),
(173.0, 213.0, 148.0),
(171.0, 213.0, 147.0),
(169.0, 213.0, 146.0),
(167.0, 213.0, 145.0),
(165.0, 213.0, 145.0),
(162.0, 212.0, 144.0),
(160.0, 212.0, 143.0),
(158.0, 212.0, 142.0),
(155.0, 212.0, 141.0),
(153.0, 212.0, 141.0),
(151.0, 211.0, 140.0),
(148.0, 211.0, 139.0),
(146.0, 211.0, 138.0),
(143.0, 211.0, 137.0),
(141.0, 211.0, 137.0),
(138.0, 210.0, 136.0),
(136.0, 210.0, 135.0),
(134.0, 210.0, 136.0),
(134.0, 210.0, 137.0),
(133.0, 210.0, 138.0),
(132.0, 210.0, 139.0),
(131.0, 209.0, 140.0),
(130.0, 209.0, 141.0),
(130.0, 209.0, 142.0),
(129.0, 209.0, 144.0),
(128.0, 209.0, 145.0),
(127.0, 208.0, 146.0),
(126.0, 208.0, 147.0),
(125.0, 208.0, 149.0),
(125.0, 208.0, 150.0),
(124.0, 208.0, 152.0),
(123.0, 208.0, 153.0),
(122.0, 207.0, 155.0),
(121.0, 207.0, 156.0),
(121.0, 207.0, 158.0),
(120.0, 207.0, 159.0),
(119.0, 207.0, 161.0),
(118.0, 207.0, 162.0),
(117.0, 206.0, 164.0),
(117.0, 206.0, 166.0),
(116.0, 206.0, 167.0),
(115.0, 206.0, 168.0),
(114.0, 206.0, 169.0),
(113.0, 205.0, 169.0),
(112.0, 205.0, 169.0),
(111.0, 205.0, 170.0),
(110.0, 205.0, 170.0),
(109.0, 205.0, 171.0),
(108.0, 204.0, 171.0),
(107.0, 204.0, 171.0),
(106.0, 204.0, 172.0),
(104.0, 204.0, 172.0),
(103.0, 204.0, 173.0),
(102.0, 204.0, 173.0),
(101.0, 203.0, 174.0),
(100.0, 203.0, 174.0),
(99.0, 203.0, 175.0),
(98.0, 203.0, 175.0),
(97.0, 203.0, 176.0),
(96.0, 203.0, 177.0),
(95.0, 202.0, 177.0),
(94.0, 202.0, 178.0),
(93.0, 202.0, 179.0),
(92.0, 202.0, 179.0),
(91.0, 202.0, 180.0),
(90.0, 202.0, 181.0),
(89.0, 201.0, 181.0),
(88.0, 201.0, 182.0),
(86.0, 201.0, 183.0),
(85.0, 201.0, 184.0),
(84.0, 201.0, 184.0),
(83.0, 201.0, 185.0),
(82.0, 200.0, 186.0),
(81.0, 200.0, 187.0),
(80.0, 200.0, 188.0),
(79.0, 200.0, 189.0),
(78.0, 200.0, 190.0),
(77.0, 200.0, 191.0),
(76.0, 200.0, 191.0),
(75.0, 199.0, 192.0),
(74.0, 199.0, 193.0),
(72.0, 199.0, 194.0),
(71.0, 199.0, 195.0),
(70.0, 199.0, 196.0),
(69.0, 199.0, 198.0),
(68.0, 199.0, 199.0),
(67.0, 197.0, 199.0),
(66.0, 196.0, 198.0),
(65.0, 195.0, 198.0),
(64.0, 193.0, 198.0),
(63.0, 192.0, 198.0),
(61.0, 190.0, 198.0),
(60.0, 189.0, 198.0),
(59.0, 187.0, 198.0),
(58.0, 186.0, 198.0),
(57.0, 184.0, 197.0),
(57.0, 182.0, 196.0),
(56.0, 180.0, 196.0),
(56.0, 178.0, 195.0),
(56.0, 176.0, 194.0),
(55.0, 174.0, 193.0),
(55.0, 172.0, 192.0),
(54.0, 170.0, 192.0),
(54.0, 168.0, 191.0),
(53.0, 167.0, 191.0),
(52.0, 167.0, 191.0),
(51.0, 166.0, 191.0),
(50.0, 165.0, 191.0),
(49.0, 165.0, 190.0),
(48.0, 164.0, 190.0),
(47.0, 163.0, 190.0),
(46.0, 163.0, 190.0),
(45.0, 162.0, 190.0),
(44.0, 161.0, 190.0),
(43.0, 160.0, 190.0),
(42.0, 160.0, 189.0),
(42.0, 159.0, 189.0),
(41.0, 158.0, 189.0),
(40.0, 157.0, 189.0),
(39.0, 157.0, 189.0),
(38.0, 156.0, 189.0),
(37.0, 155.0, 188.0),
(36.0, 154.0, 188.0),
(35.0, 154.0, 188.0),
(35.0, 153.0, 188.0),
(34.0, 152.0, 188.0),
(33.0, 151.0, 187.0),
(32.0, 150.0, 187.0),
(31.0, 149.0, 187.0),
(30.0, 149.0, 187.0),
(30.0, 148.0, 186.0),
(29.0, 147.0, 186.0),
(28.0, 146.0, 186.0),
(27.0, 145.0, 185.0),
(27.0, 144.0, 185.0),
(26.0, 143.0, 185.0),
(25.0, 142.0, 185.0),
(24.0, 142.0, 184.0),
(23.0, 141.0, 184.0),
(23.0, 140.0, 184.0),
(22.0, 139.0, 183.0),
(21.0, 138.0, 183.0),
(20.0, 137.0, 183.0),
(20.0, 136.0, 182.0),
(19.0, 135.0, 182.0),
(18.0, 134.0, 182.0),
(18.0, 133.0, 181.0),
(17.0, 132.0, 181.0),
(16.0, 131.0, 181.0),
(16.0, 130.0, 180.0),
(15.0, 129.0, 180.0),
(14.0, 129.0, 179.0),
(14.0, 128.0, 179.0),
(13.0, 127.0, 179.0),
(12.0, 126.0, 178.0),
(12.0, 125.0, 178.0),
(11.0, 124.0, 177.0),
(10.0, 123.0, 177.0),
(10.0, 122.0, 177.0),
(9.0, 121.0, 176.0),
(8.0, 120.0, 176.0),
(8.0, 119.0, 175.0),
(7.0, 118.0, 175.0),
(7.0, 117.0, 174.0),
(6.0, 116.0, 174.0),
(5.0, 115.0, 173.0),
(5.0, 114.0, 173.0),
(5.0, 114.0, 172.0),
(5.0, 113.0, 172.0),
(5.0, 113.0, 171.0),
(5.0, 113.0, 171.0),
(5.0, 112.0, 170.0),
(5.0, 112.0, 169.0),
(5.0, 112.0, 169.0),
(5.0, 111.0, 168.0),
(5.0, 111.0, 168.0),
(5.0, 110.0, 167.0),
(5.0, 110.0, 167.0),
(5.0, 110.0, 166.0),
(5.0, 109.0, 166.0),
(5.0, 109.0, 165.0),
(5.0, 109.0, 164.0),
(5.0, 108.0, 164.0),
(5.0, 108.0, 163.0),
(5.0, 108.0, 163.0),
(5.0, 107.0, 162.0),
(5.0, 107.0, 162.0),
(5.0, 106.0, 161.0),
(5.0, 106.0, 161.0),
(5.0, 106.0, 160.0),
(5.0, 105.0, 159.0),
(5.0, 105.0, 159.0),
(5.0, 105.0, 158.0),
(5.0, 104.0, 158.0),
(5.0, 104.0, 157.0),
(5.0, 104.0, 157.0),
(5.0, 103.0, 156.0),
(5.0, 103.0, 156.0),
(5.0, 102.0, 155.0),
(5.0, 102.0, 154.0),
(5.0, 102.0, 154.0),
(5.0, 101.0, 153.0),
(5.0, 101.0, 153.0),
(5.0, 101.0, 152.0),
(5.0, 100.0, 152.0),
(5.0, 100.0, 151.0),
(5.0, 99.0, 151.0),
(5.0, 99.0, 150.0),
(5.0, 99.0, 149.0),
(5.0, 98.0, 149.0),
(5.0, 98.0, 148.0),
(5.0, 98.0, 148.0),
(5.0, 97.0, 147.0),
(5.0, 97.0, 147.0),
(5.0, 97.0, 146.0),
(5.0, 96.0, 146.0),
(4.0, 96.0, 145.0),
(4.0, 95.0, 144.0),
(4.0, 95.0, 144.0),
(4.0, 95.0, 143.0),
(4.0, 94.0, 143.0),
(4.0, 94.0, 142.0),
(4.0, 94.0, 142.0),
(4.0, 93.0, 141.0),
(4.0, 93.0, 141.0),
(4.0, 92.0, 140.0),
(4.0, 92.0, 139.0),
(4.0, 92.0, 139.0),
(4.0, 91.0, 138.0),
(4.0, 91.0, 137.0),
(4.0, 90.0, 136.0),
(4.0, 90.0, 136.0),
(4.0, 89.0, 135.0),
(4.0, 88.0, 134.0),
(4.0, 88.0, 133.0),
(4.0, 87.0, 132.0),
(4.0, 87.0, 131.0),
(4.0, 86.0, 130.0),
(4.0, 86.0, 130.0),
(4.0, 85.0, 129.0),
(4.0, 84.0, 128.0),
(4.0, 84.0, 127.0),
(4.0, 83.0, 126.0),
(4.0, 83.0, 125.0),
(4.0, 82.0, 124.0),
(4.0, 82.0, 124.0),
(4.0, 81.0, 123.0),
(4.0, 80.0, 122.0),
(4.0, 80.0, 121.0),
(3.0, 79.0, 120.0),
(3.0, 79.0, 119.0),
(3.0, 78.0, 118.0),
(3.0, 78.0, 117.0),
(3.0, 77.0, 117.0),
(3.0, 76.0, 116.0),
(3.0, 76.0, 115.0),
(3.0, 75.0, 114.0),
(3.0, 75.0, 113.0),
(3.0, 74.0, 112.0),
(3.0, 74.0, 111.0),
(3.0, 73.0, 111.0),
(3.0, 72.0, 110.0),
(3.0, 72.0, 109.0),
(3.0, 71.0, 108.0),
(3.0, 71.0, 107.0),
(3.0, 70.0, 106.0),
(3.0, 70.0, 105.0),
(3.0, 69.0, 105.0),
(3.0, 68.0, 104.0),
(3.0, 68.0, 103.0),
(3.0, 67.0, 102.0),
(3.0, 67.0, 101.0),
(3.0, 66.0, 100.0),
(3.0, 65.0, 99.0),
(3.0, 65.0, 98.0),
(3.0, 64.0, 98.0),
(3.0, 64.0, 97.0),
(3.0, 63.0, 96.0),
(3.0, 63.0, 95.0),
(3.0, 62.0, 94.0),
(2.0, 61.0, 93.0),
(2.0, 61.0, 92.0),
(2.0, 60.0, 91.0),
(2.0, 60.0, 91.0),
(2.0, 59.0, 90.0),
(2.0, 59.0, 89.0),
(2.0, 58.0, 88.0),
(2.0, 57.0, 87.0),
(2.0, 57.0, 86.0),
(2.0, 56.0, 85.0),
(2.0, 56.0, 85.0)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment