How can I set the background color of gnome-terminal using gconftool-2?

Apparently gconftool-2 does not work anymore, however dconf did work for me. Close gnome-terminal and run this in xterm or another terminal emulator, or even tty.

Step 1: find the id of your desired profile

dconf dump /org/gnome/terminal/legacy/profiles:/ | awk '/\[:/||/visible-name=/'

My output:

[:732eb8b6-054a-446e-b89b-707f3331b62a]
visible-name='G-O'
[:b1dcc9dd-5262-4d8d-a863-c897e6d979b9]
visible-name='BLACK-GRAY'
[:950cf000-d979-4981-bbdd-65441138c782]
visible-name='B-W'
[:6390ed2d-5768-4650-b4c8-dc1ef4f5da1a]
visible-name='IBM'
[:868caf45-6db6-4427-81f0-d6fa28ef1c3e]
visible-name='gray-green'
[:1960ff5e-ffe6-48c3-8f7c-b771245d62ae]
visible-name='cathode'
[:9176f39d-9b41-4e64-87d9-ea388e3b873d]
visible-name='B-O'
[:98707df3-b227-4a01-ae76-310f8270b9bd]
visible-name='Default'
[:4038ffeb-a484-4c39-aead-9c45f4032f27]
visible-name='PRINT'
[:67607036-706f-4872-bd7d-a3eabf321460]
visible-name='B-G'

So my Default profile has id :98707df3-b227-4a01-ae76-310f8270b9bd

Step 2: allow for using custom colors instead of system colors

sudo dconf write /org/gnome/terminal/legacy/profiles:/:98707df3-b227-4a01-ae76-310f8270b9bd/use-theme-colors "false"

Step 3: set your desired background color

sudo dconf write /org/gnome/terminal/legacy/profiles:/:98707df3-b227-4a01-ae76-310f8270b9bd/background-color "'#ABAB9B9B6060'"

Step 4: (re)start gnome-terminal.