diff --git a/rembg/commands/b_command.py b/rembg/commands/b_command.py index f3f8dc99..07f26c7f 100644 --- a/rembg/commands/b_command.py +++ b/rembg/commands/b_command.py @@ -74,7 +74,7 @@ @click.option( "-bgc", "--bgcolor", - default=None, + default=(0, 0, 0, 0), type=(int, int, int, int), nargs=4, help="Background color (R G B A) to replace the removed background with", diff --git a/rembg/commands/i_command.py b/rembg/commands/i_command.py index 73ad26d9..84541428 100644 --- a/rembg/commands/i_command.py +++ b/rembg/commands/i_command.py @@ -70,7 +70,7 @@ @click.option( "-bgc", "--bgcolor", - default=None, + default=(0, 0, 0, 0), type=(int, int, int, int), nargs=4, help="Background color (R G B A) to replace the removed background with", diff --git a/rembg/commands/p_command.py b/rembg/commands/p_command.py index 5181fb0e..41c81467 100644 --- a/rembg/commands/p_command.py +++ b/rembg/commands/p_command.py @@ -83,7 +83,7 @@ @click.option( "-bgc", "--bgcolor", - default=None, + default=(0, 0, 0, 0), type=(int, int, int, int), nargs=4, help="Background color (R G B A) to replace the removed background with",