use #000000 as default on invalid color