Color tx(double percentage) { assert(percentage >= 0 && percentage <= 100); return use.withOpacity(percentage / 100); }