You set the default value for fg to white and for bg to white as well if its greater than 255.
Intuitively, bg should be set to black. Either 0, 16, or 232.