Running gam user <My Emails Address> print labels todrive gives me a file with various headings, 2 of which are color.backgroundColor & color.textColor. These have been generated from the Label colour option in Gmail.
However, when I try to use them to update other labels using
gam user <My Email Address> update labelsettings "<Label Name>" backgroundcolor "#b3efd3" textcolor "#0b4f30" I get an error;-
Command: /home/path/bin/gamadv-xtd3/gam user <My Email Address> update labelsettings <Label Name> backgroundcolor >>>#b3efd3<<< textcolor #0b4f30
ERROR: Invalid argument: Expected <#000000|#076239|#0b804b|#149e60|#16a766|#1a764d|#1c4587|#285bac|#2a9c68|#3c78d8|#3dc789|#41236d|#434343|#43d692|#44b984|#4a86e8|#653e9b|#666666|#68dfa9|#6d9eeb|#822111|#83334c|#89d3b2|#8e63ce|#999999|#a0eac9|#a46a21|#a479e2|#a4c2f4|#aa8831|#ac2b16|#b65775|#b694e8|#b9e4d0|#c6f3de|#c9daf8|#cc3a21|#cccccc|#cf8933|#d0bcf1|#d5ae49|#e07798|#e4d7f5|#e66550|#eaa041|#efa093|#efefef|#f2c960|#f3f3f3|#f691b3|#f6c5be|#f7a7c0|#fad165|#fb4c2f|#fbc8d9|#fcda83|#fcdee8|#fce8b3|#fef1d1|#ffad47|#ffbc6b|#ffd6a2|#ffe6c7|#ffffff>
I can obvioulsy set these manually, but just wondering why these Hex values, that are valid in Gmail, cannot be set using GAM. I am using
Cheers
James