chartPalette.tsx 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. /**
  2. * Common constants here
  3. */
  4. // palette generated via: https://gka.github.io/palettes/#colors=444674,69519A,E1567C,FB7D46,F2B712|steps=20|bez=1|coL=1
  5. export const CHART_PALETTE = [
  6. ['#444674'],
  7. ['#444674', '#f2b712'],
  8. ['#444674', '#d6567f', '#f2b712'],
  9. ['#444674', '#a35488', '#ef7061', '#f2b712'],
  10. ['#444674', '#895289', '#d6567f', '#f38150', '#f2b712'],
  11. ['#444674', '#7a5088', '#b85586', '#e9626e', '#f58c46', '#f2b712'],
  12. ['#444674', '#704f87', '#a35488', '#d6567f', '#ef7061', '#f59340', '#f2b712'],
  13. [
  14. '#444674',
  15. '#694e86',
  16. '#955389',
  17. '#c15584',
  18. '#e65d73',
  19. '#f27a58',
  20. '#f6983b',
  21. '#f2b712',
  22. ],
  23. [
  24. '#444674',
  25. '#644d85',
  26. '#895289',
  27. '#b05587',
  28. '#d6567f',
  29. '#ec6868',
  30. '#f38150',
  31. '#f69b38',
  32. '#f2b712',
  33. ],
  34. [
  35. '#444674',
  36. '#614c84',
  37. '#815189',
  38. '#a35488',
  39. '#c65683',
  40. '#e35a78',
  41. '#ef7061',
  42. '#f4884b',
  43. '#f59f34',
  44. '#f2b712',
  45. ],
  46. [
  47. '#444674',
  48. '#5c4c82',
  49. '#7a5088',
  50. '#9a5389',
  51. '#b85586',
  52. '#d7567f',
  53. '#e9626e',
  54. '#f1785a',
  55. '#f58c46',
  56. '#f5a132',
  57. '#f2b712',
  58. ],
  59. [
  60. '#444674',
  61. '#5b4b82',
  62. '#764f88',
  63. '#925289',
  64. '#ae5487',
  65. '#c85682',
  66. '#e2587a',
  67. '#ec6b66',
  68. '#f37d54',
  69. '#f59143',
  70. '#f5a42f',
  71. '#f2b712',
  72. ],
  73. [
  74. '#444674',
  75. '#584b80',
  76. '#704f87',
  77. '#895289',
  78. '#a35488',
  79. '#bd5585',
  80. '#d6567f',
  81. '#e75f71',
  82. '#ef7061',
  83. '#f38150',
  84. '#f59340',
  85. '#f5a52d',
  86. '#f2b712',
  87. ],
  88. [
  89. '#444674',
  90. '#574b80',
  91. '#6d4e87',
  92. '#855189',
  93. '#9d5389',
  94. '#b35586',
  95. '#ca5682',
  96. '#e2577b',
  97. '#eb666a',
  98. '#f0765b',
  99. '#f4854d',
  100. '#f6953e',
  101. '#f5a62c',
  102. '#f2b712',
  103. ],
  104. [
  105. '#444674',
  106. '#564a7f',
  107. '#694e86',
  108. '#805089',
  109. '#955389',
  110. '#ab5487',
  111. '#c15584',
  112. '#d6567f',
  113. '#e65d73',
  114. '#ed6c65',
  115. '#f27a58',
  116. '#f5894a',
  117. '#f6983b',
  118. '#f5a72b',
  119. '#f2b712',
  120. ],
  121. [
  122. '#444674',
  123. '#544a7f',
  124. '#674d85',
  125. '#7a5088',
  126. '#8f5289',
  127. '#a35488',
  128. '#b85586',
  129. '#cd5681',
  130. '#e1567c',
  131. '#e9626e',
  132. '#ef7061',
  133. '#f37d54',
  134. '#f58c46',
  135. '#f69a39',
  136. '#f5a829',
  137. '#f2b712',
  138. ],
  139. [
  140. '#444674',
  141. '#524a7e',
  142. '#644d85',
  143. '#784f88',
  144. '#895289',
  145. '#9e5389',
  146. '#b05587',
  147. '#c45683',
  148. '#d6567f',
  149. '#e55b76',
  150. '#ec6868',
  151. '#f0745c',
  152. '#f38150',
  153. '#f58e44',
  154. '#f69b38',
  155. '#f4a928',
  156. '#f2b712',
  157. ],
  158. [
  159. '#444674',
  160. '#524a7e',
  161. '#624d84',
  162. '#744f88',
  163. '#865189',
  164. '#985389',
  165. '#aa5488',
  166. '#bc5585',
  167. '#cd5681',
  168. '#df567c',
  169. '#e86070',
  170. '#ed6c64',
  171. '#f17959',
  172. '#f4854e',
  173. '#f59242',
  174. '#f59e35',
  175. '#f4aa27',
  176. '#f2b712',
  177. ],
  178. ] as string[][];