Extracting handlers' colors to facilitate further changes.