# TeamChangeColorEvent > Fired when a team's color is changed. Cancellable. `gg.lode.leadapi.api.event.TeamChangeColorEvent` --- ## Signature ```java public class TeamChangeColorEvent extends BaseEvent implements Cancellable ``` ## Extends / Implements - `BaseEvent` - `Cancellable` **Cancellable:** Yes --- ## Constructor ```java TeamChangeColorEvent(ITeam team, String oldColor, String newColor) ``` --- ## Methods ### getOldColor ```java String getOldColor() ``` Returns the previous hex color. **Returns:** `String` — The old color. --- ### getNewColor ```java String getNewColor() ``` Returns the new hex color. **Returns:** `String` — The new color. --- ### getTeam ```java ITeam getTeam() ``` Returns the team whose color is changing. **Returns:** `ITeam` — The team. --- ### isCancelled / setCancelled ```java boolean isCancelled() void setCancelled(boolean b) ``` Controls whether the color change is cancelled. --- ## Related Pages - [[TeamChangeNameEvent]] — Fired when the team name changes - [[TeamChangeIdEvent]] — Fired when the team ID changes - [[ITeam]] — The team involved