Thank you all.
What I ended up doing was a small python script that calculates the gradient and outputs the JSON. I then go to Inspect → Panel JSON and paste the following.
"mappings": [
{
"options": {
"from": -1,
"result": {
"color": "#f2495c",
"index": 0
},
"to": -0.02
},
"type": "range"
},
{
"options": {
"from": -0.02,
"result": {
"color": "#f2495c",
"index": 1
},
"to": -0.019
},
"type": "range"
},
{
"options": {
"from": -0.019,
"result": {
"color": "#f25264",
"index": 2
},
"to": -0.018
},
"type": "range"
},
{
"options": {
"from": -0.018,
"result": {
"color": "#f35b6c",
"index": 3
},
"to": -0.017
},
"type": "range"
},
{
"options": {
"from": -0.017,
"result": {
"color": "#f36474",
"index": 4
},
"to": -0.016
},
"type": "range"
},
{
"options": {
"from": -0.016,
"result": {
"color": "#f46d7c",
"index": 5
},
"to": -0.015
},
"type": "range"
},
{
"options": {
"from": -0.015,
"result": {
"color": "#f57684",
"index": 6
},
"to": -0.014
},
"type": "range"
},
{
"options": {
"from": -0.014,
"result": {
"color": "#f57f8c",
"index": 7
},
"to": -0.013
},
"type": "range"
},
{
"options": {
"from": -0.013,
"result": {
"color": "#f68895",
"index": 8
},
"to": -0.012
},
"type": "range"
},
{
"options": {
"from": -0.012,
"result": {
"color": "#f7919d",
"index": 9
},
"to": -0.011
},
"type": "range"
},
{
"options": {
"from": -0.011,
"result": {
"color": "#f79aa5",
"index": 10
},
"to": -0.01
},
"type": "range"
},
{
"options": {
"from": -0.01,
"result": {
"color": "#f8a4ad",
"index": 11
},
"to": -0.009
},
"type": "range"
},
{
"options": {
"from": -0.009,
"result": {
"color": "#f9adb5",
"index": 12
},
"to": -0.008
},
"type": "range"
},
{
"options": {
"from": -0.008,
"result": {
"color": "#f9b6bd",
"index": 13
},
"to": -0.007
},
"type": "range"
},
{
"options": {
"from": -0.007,
"result": {
"color": "#fabfc5",
"index": 14
},
"to": -0.006
},
"type": "range"
},
{
"options": {
"from": -0.006,
"result": {
"color": "#fbc8ce",
"index": 15
},
"to": -0.005
},
"type": "range"
},
{
"options": {
"from": -0.005,
"result": {
"color": "#fbd1d6",
"index": 16
},
"to": -0.004
},
"type": "range"
},
{
"options": {
"from": -0.004,
"result": {
"color": "#fcdade",
"index": 17
},
"to": -0.003
},
"type": "range"
},
{
"options": {
"from": -0.003,
"result": {
"color": "#fde3e6",
"index": 18
},
"to": -0.002
},
"type": "range"
},
{
"options": {
"from": -0.002,
"result": {
"color": "#fdecee",
"index": 19
},
"to": -0.001
},
"type": "range"
},
{
"options": {
"from": -0.001,
"result": {
"color": "#fef5f6",
"index": 20
},
"to": 0
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "#ffffff",
"index": 21
},
"to": 0.001
},
"type": "range"
},
{
"options": {
"from": 0.001,
"result": {
"color": "#f8fbf7",
"index": 22
},
"to": 0.002
},
"type": "range"
},
{
"options": {
"from": 0.002,
"result": {
"color": "#f1f8f0",
"index": 23
},
"to": 0.003
},
"type": "range"
},
{
"options": {
"from": 0.003,
"result": {
"color": "#eaf5e8",
"index": 24
},
"to": 0.004
},
"type": "range"
},
{
"options": {
"from": 0.004,
"result": {
"color": "#e3f2e1",
"index": 25
},
"to": 0.005
},
"type": "range"
},
{
"options": {
"from": 0.005,
"result": {
"color": "#dcefd9",
"index": 26
},
"to": 0.006
},
"type": "range"
},
{
"options": {
"from": 0.006,
"result": {
"color": "#d5ebd2",
"index": 27
},
"to": 0.007
},
"type": "range"
},
{
"options": {
"from": 0.007,
"result": {
"color": "#cee8ca",
"index": 28
},
"to": 0.008
},
"type": "range"
},
{
"options": {
"from": 0.008,
"result": {
"color": "#c7e5c3",
"index": 29
},
"to": 0.009
},
"type": "range"
},
{
"options": {
"from": 0.009,
"result": {
"color": "#c0e2bb",
"index": 30
},
"to": 0.01
},
"type": "range"
},
{
"options": {
"from": 0.01,
"result": {
"color": "#b9dfb4",
"index": 31
},
"to": 0.011
},
"type": "range"
},
{
"options": {
"from": 0.011,
"result": {
"color": "#b2dbac",
"index": 32
},
"to": 0.012
},
"type": "range"
},
{
"options": {
"from": 0.012,
"result": {
"color": "#abd8a5",
"index": 33
},
"to": 0.013
},
"type": "range"
},
{
"options": {
"from": 0.013,
"result": {
"color": "#a4d59d",
"index": 34
},
"to": 0.014
},
"type": "range"
},
{
"options": {
"from": 0.014,
"result": {
"color": "#9dd296",
"index": 35
},
"to": 0.015
},
"type": "range"
},
{
"options": {
"from": 0.015,
"result": {
"color": "#96cf8e",
"index": 36
},
"to": 0.016
},
"type": "range"
},
{
"options": {
"from": 0.016,
"result": {
"color": "#8fcb87",
"index": 37
},
"to": 0.017
},
"type": "range"
},
{
"options": {
"from": 0.017,
"result": {
"color": "#88c87f",
"index": 38
},
"to": 0.018
},
"type": "range"
},
{
"options": {
"from": 0.018,
"result": {
"color": "#81c578",
"index": 39
},
"to": 0.019
},
"type": "range"
},
{
"options": {
"from": 0.019,
"result": {
"color": "#7ac270",
"index": 40
},
"to": 0.02
},
"type": "range"
},
{
"options": {
"from": 0.02,
"result": {
"color": "#73bf69",
"index": 41
},
"to": 10000
},
"type": "range"
}
]
Thank you all for your help!