Skip to content

Commit

Permalink
updated OE colours
Browse files Browse the repository at this point in the history
  • Loading branch information
chienleng committed Jun 11, 2024
1 parent 6049f8b commit cd3df8e
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 28 deletions.
64 changes: 64 additions & 0 deletions src/lib/theme/openelectricity-old.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/** @type {Object.<FuelTechCode, string>}} */
const fuelTechColourMap = {
battery_charging: '#4F5FD7',
battery_discharging: '#3145CE',
battery_VPP_charging: '#4F5FD7',
battery_VPP_discharging: '#5969D9',
battery_distributed_charging: '#4F5FD7',
battery_distributed_discharging: '#7682D7',
battery: '#3145CE',

bioenergy: '#069FAF',
bioenergy_biogas: '#069FAF',
bioenergy_biomass: '#0B757C',

coal: '#251C00',
coal_black: '#251C00',
coal_brown: '#675B42',

distillate: '#E46E56',

gas: '#E78114',
gas_ccgt: '#ED9C2C',
gas_ccgt_ccs: '#F1AB4B',
gas_ocgt: '#F0AC4A',
gas_recip: '#F4C379',
gas_steam: '#E78114',
gas_wcmg: '#DA630E',
gas_hydrogen: '#C75338',

hydro: '#ACE9FE',
pumps: '#00A5F1',

solar: '#FECE00',
solar_utility: '#FECE00',
solar_thermal: '#FDB200',
solar_rooftop: '#FFEB5C',

wind: '#2A7E3F',
wind_offshore: '#53AD69',

nuclear: '#C75338',

imports: '#CFA7FF',
exports: '#722AF7',
interconnector: '#7F7F7F',
demand_response: '#7F7F7F',

fossil_fuels: '#594929',
renewables: '#52A972',
fossil: '#594929',
renewable: '#52A972',

total_loads: '#CFA7FF',
total_sources: '#251C00'
};

const carbonIntensityColourMap = {
0: '#21956C',
100: '#8BB97A',
200: '#E9FFAA',
800: '#3F2E16'
};

export { fuelTechColourMap, carbonIntensityColourMap };
56 changes: 28 additions & 28 deletions src/lib/theme/openelectricity.js
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
/** @type {Object.<FuelTechCode, string>}} */
const fuelTechColourMap = {
battery_charging: '#4F5FD7',
battery_discharging: '#3145CE',
battery_VPP_charging: '#4F5FD7',
battery_VPP_discharging: '#5969D9',
battery_distributed_charging: '#4F5FD7',
battery_distributed_discharging: '#7682D7',
battery: '#3145CE',
battery_charging: '#ACE9FE',
battery_discharging: '#00A5F1',
battery_VPP_charging: '#ACE9FE',
battery_VPP_discharging: '#00A5F1',
battery_distributed_charging: '#ACE9FE',
battery_distributed_discharging: '#00A5F1',
battery: '#00A5F1',

bioenergy: '#069FAF',
bioenergy_biogas: '#069FAF',
bioenergy_biomass: '#0B757C',
bioenergy: '#1D7A7A',
bioenergy_biogas: '#1D7A7A',
bioenergy_biomass: '#4CB9B9',

coal: '#251C00',
coal_black: '#251C00',
coal_brown: '#675B42',
coal: '#462C16',
coal_black: '#121212',
coal_brown: '#744A26',

distillate: '#E46E56',
distillate: '#E15C34',

gas: '#E78114',
gas_ccgt: '#ED9C2C',
gas: '#E87809',
gas_ccgt: '#FDB462',
gas_ccgt_ccs: '#F1AB4B',
gas_ocgt: '#F0AC4A',
gas_recip: '#F4C379',
gas_steam: '#E78114',
gas_wcmg: '#DA630E',
gas_ocgt: '#FFCD96',
gas_recip: '#F9DCBC',
gas_steam: '#F48E1B',
gas_wcmg: '#B46813',
gas_hydrogen: '#C75338',

hydro: '#ACE9FE',
pumps: '#00A5F1',
hydro: '#5EA0C0',
pumps: '#88AFD0',

solar: '#FECE00',
solar_utility: '#FECE00',
solar: '#FED500',
solar_utility: '#FED500',
solar_thermal: '#FDB200',
solar_rooftop: '#FFEB5C',
solar_rooftop: '#FFF58D',

wind: '#2A7E3F',
wind: '#2C7629',
wind_offshore: '#53AD69',

nuclear: '#C75338',

imports: '#CFA7FF',
exports: '#722AF7',
imports: '#521986',
exports: '#927BAD',
interconnector: '#7F7F7F',
demand_response: '#7F7F7F',

Expand Down

0 comments on commit cd3df8e

Please sign in to comment.