The Color to Alpha… command makes all pixels with a specified color in the current layer transparent. For more details see 8.57 – „Color to Alpha…“.
This command only works on a single layer.
You can access this command
From the main menu through Layer → Transparency → Color to Alpha….
From the main menu through Colors → Color to Alpha… (see 8.57 – „Color to Alpha…“).