Skip to content

Instantly share code, notes, and snippets.

@kgreger
Created August 22, 2019 14:02
Show Gist options
  • Save kgreger/27134797b6c34c78bc6645fd01ca6da4 to your computer and use it in GitHub Desktop.
Save kgreger/27134797b6c34c78bc6645fd01ca6da4 to your computer and use it in GitHub Desktop.
The custom Tableau palette for the Turbo Rainbow palette Google AI published. Find the (messy) R code to generate it at https://gist.github.com/kgreger/50edb16656df58ba9f56590a3b9a8dbe and more information on the scientific background in the original blog at https://ai.googleblog.com/2019/08/turbo-improved-rainbow-colormap-for.html.
<?xml version='1.0'?>
<workbook>
<preferences>
<color-palette name='Turbo Colormap' type='ordered-sequential' >
<color>#30123B</color>
<color>#311542</color>
<color>#33184A</color>
<color>#341B51</color>
<color>#351E58</color>
<color>#36215F</color>
<color>#372466</color>
<color>#38266C</color>
<color>#392973</color>
<color>#3A2C79</color>
<color>#3B2F80</color>
<color>#3C3286</color>
<color>#3D358B</color>
<color>#3E3891</color>
<color>#3E3A97</color>
<color>#3F3D9C</color>
<color>#4040A2</color>
<color>#4043A7</color>
<color>#4146AC</color>
<color>#4248B1</color>
<color>#424BB6</color>
<color>#434EBA</color>
<color>#4351BF</color>
<color>#4453C3</color>
<color>#4456C7</color>
<color>#4559CB</color>
<color>#455BCF</color>
<color>#455ED3</color>
<color>#4561D7</color>
<color>#4663DA</color>
<color>#4666DD</color>
<color>#4669E1</color>
<color>#466BE4</color>
<color>#466EE7</color>
<color>#4671E9</color>
<color>#4673EC</color>
<color>#4676EE</color>
<color>#4678F1</color>
<color>#467BF3</color>
<color>#467DF5</color>
<color>#4680F7</color>
<color>#4682F9</color>
<color>#4685FA</color>
<color>#4587FC</color>
<color>#458AFD</color>
<color>#448CFE</color>
<color>#448FFE</color>
<color>#4391FF</color>
<color>#4294FF</color>
<color>#4196FF</color>
<color>#3F99FF</color>
<color>#3E9BFF</color>
<color>#3D9EFE</color>
<color>#3BA1FD</color>
<color>#3AA3FD</color>
<color>#38A6FB</color>
<color>#36A8FA</color>
<color>#35ABF9</color>
<color>#33ADF7</color>
<color>#31B0F6</color>
<color>#2FB2F4</color>
<color>#2DB5F2</color>
<color>#2CB7F0</color>
<color>#2AB9EE</color>
<color>#28BCEC</color>
<color>#26BEEA</color>
<color>#25C0E7</color>
<color>#23C3E5</color>
<color>#21C5E2</color>
<color>#20C7E0</color>
<color>#1FC9DD</color>
<color>#1DCCDB</color>
<color>#1CCED8</color>
<color>#1BD0D5</color>
<color>#1AD2D3</color>
<color>#19D4D0</color>
<color>#18D6CD</color>
<color>#18D8CB</color>
<color>#18DAC8</color>
<color>#17DBC5</color>
<color>#17DDC3</color>
<color>#17DFC0</color>
<color>#18E0BE</color>
<color>#18E2BB</color>
<color>#19E3B9</color>
<color>#1AE5B7</color>
<color>#1BE6B4</color>
<color>#1DE8B2</color>
<color>#1EE9AF</color>
<color>#20EAAD</color>
<color>#22ECAA</color>
<color>#24EDA7</color>
<color>#27EEA4</color>
<color>#29EFA1</color>
<color>#2CF09E</color>
<color>#2FF19B</color>
<color>#32F298</color>
<color>#35F394</color>
<color>#38F491</color>
<color>#3CF58E</color>
<color>#3FF68B</color>
<color>#43F787</color>
<color>#46F884</color>
<color>#4AF980</color>
<color>#4EFA7D</color>
<color>#51FA79</color>
<color>#55FB76</color>
<color>#59FC73</color>
<color>#5DFC6F</color>
<color>#61FD6C</color>
<color>#65FD69</color>
<color>#69FE65</color>
<color>#6DFE62</color>
<color>#71FE5F</color>
<color>#75FF5C</color>
<color>#79FF59</color>
<color>#7DFF56</color>
<color>#80FF53</color>
<color>#84FF50</color>
<color>#88FF4E</color>
<color>#8BFF4B</color>
<color>#8FFF49</color>
<color>#92FF46</color>
<color>#96FF44</color>
<color>#99FF42</color>
<color>#9CFE40</color>
<color>#9FFE3E</color>
<color>#A2FD3D</color>
<color>#A4FD3B</color>
<color>#A7FC3A</color>
<color>#AAFC39</color>
<color>#ACFB38</color>
<color>#AFFA37</color>
<color>#B1F936</color>
<color>#B4F835</color>
<color>#B7F835</color>
<color>#B9F634</color>
<color>#BCF534</color>
<color>#BFF434</color>
<color>#C1F334</color>
<color>#C4F233</color>
<color>#C6F033</color>
<color>#C9EF34</color>
<color>#CBEE34</color>
<color>#CEEC34</color>
<color>#D0EB34</color>
<color>#D2E934</color>
<color>#D5E835</color>
<color>#D7E635</color>
<color>#D9E435</color>
<color>#DBE236</color>
<color>#DDE136</color>
<color>#E0DF37</color>
<color>#E2DD37</color>
<color>#E4DB38</color>
<color>#E6D938</color>
<color>#E7D738</color>
<color>#E9D539</color>
<color>#EBD339</color>
<color>#EDD139</color>
<color>#EECF3A</color>
<color>#F0CD3A</color>
<color>#F1CB3A</color>
<color>#F3C93A</color>
<color>#F4C73A</color>
<color>#F5C53A</color>
<color>#F7C33A</color>
<color>#F8C13A</color>
<color>#F9BF39</color>
<color>#FABD39</color>
<color>#FABA38</color>
<color>#FBB838</color>
<color>#FCB637</color>
<color>#FCB436</color>
<color>#FDB135</color>
<color>#FDAF35</color>
<color>#FEAC34</color>
<color>#FEA933</color>
<color>#FEA732</color>
<color>#FEA431</color>
<color>#FFA12F</color>
<color>#FF9E2E</color>
<color>#FF9C2D</color>
<color>#FF992C</color>
<color>#FE962B</color>
<color>#FE932A</color>
<color>#FE9028</color>
<color>#FE8D27</color>
<color>#FD8A26</color>
<color>#FD8724</color>
<color>#FC8423</color>
<color>#FC8122</color>
<color>#FB7E20</color>
<color>#FB7B1F</color>
<color>#FA781E</color>
<color>#F9751C</color>
<color>#F8721B</color>
<color>#F86F1A</color>
<color>#F76C19</color>
<color>#F66917</color>
<color>#F56616</color>
<color>#F46315</color>
<color>#F36014</color>
<color>#F25D13</color>
<color>#F05B11</color>
<color>#EF5810</color>
<color>#EE550F</color>
<color>#ED530E</color>
<color>#EB500E</color>
<color>#EA4E0D</color>
<color>#E94B0C</color>
<color>#E7490B</color>
<color>#E6470A</color>
<color>#E4450A</color>
<color>#E34209</color>
<color>#E14009</color>
<color>#DF3E08</color>
<color>#DE3C07</color>
<color>#DC3A07</color>
<color>#DA3806</color>
<color>#D83606</color>
<color>#D63405</color>
<color>#D43205</color>
<color>#D23105</color>
<color>#D02F04</color>
<color>#CE2D04</color>
<color>#CC2B03</color>
<color>#CA2903</color>
<color>#C82803</color>
<color>#C62602</color>
<color>#C32402</color>
<color>#C12302</color>
<color>#BF2102</color>
<color>#BC1F01</color>
<color>#BA1E01</color>
<color>#B71C01</color>
<color>#B41B01</color>
<color>#B21901</color>
<color>#AF1801</color>
<color>#AC1601</color>
<color>#AA1501</color>
<color>#A71401</color>
<color>#A41201</color>
<color>#A11101</color>
<color>#9E1001</color>
<color>#9B0F01</color>
<color>#980D01</color>
<color>#950C01</color>
<color>#920B01</color>
<color>#8E0A01</color>
<color>#8B0901</color>
<color>#880801</color>
<color>#850701</color>
<color>#810602</color>
<color>#7E0502</color>
<color>#7A0402</color>
</color-palette>
</preferences>
</workbook>
@kgreger
Copy link
Author

kgreger commented Aug 22, 2019

This is a complete Preferences.tps file that can be used to replace the default Preferences.tps file in your Tableau Repository at C:\Users\<USERNAME>\Documents\My Tableau Repository. If you have made changes to this file previously, just copy & paste the <preferences> tag and everything contained therein into your existing Preferences.tps file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment